*/
public class LocalizedNumberFormatterAsFormat extends Format {
+ private static final long serialVersionUID = 1L;
+
private final transient LocalizedNumberFormatter formatter;
// Even though the locale is inside the LocalizedNumberFormatter, we have to keep it here, too, because
}
static class Proxy implements Externalizable {
+ private static final long serialVersionUID = 1L;
+
String languageTag;
String skeleton;
* matchers in the series succeed. Performs greedy matches within the context of the series.
*
* @author sffc
- * @see AnyMatcher
*/
public class SeriesMatcher implements NumberParseMatcher {
*/
@Deprecated
public abstract class CurrencyRounder extends CurrencyPrecision {
+ // package private constructor just for blocking
+ // java compiler to generate public no-arg constructor.
+ CurrencyRounder() {
+ }
}
\ No newline at end of file
* <p>
* If a field occurs just once, calling this method will find that occurrence and return it. If a
* field occurs multiple times, this method may be called repeatedly with the following pattern:
- * <p>
*
* <pre>
* FieldPosition fpos = new FieldPosition(NumberFormat.Field.GROUPING_SEPARATOR);
*/
@Deprecated
public abstract class FractionRounder extends FractionPrecision {
+ // package private constructor just for blocking
+ // java compiler to generate public no-arg constructor.
+ FractionRounder() {
+ }
}
\ No newline at end of file
*/
@Deprecated
public abstract class Rounder extends Precision {
+ // package private constructor just for blocking
+ // java compiler to generate public no-arg constructor.
+ Rounder() {
+ }
}
/**
* Multiply numbers by 100 before formatting. Useful for combining with a percent unit:
- * <p>
*
* <pre>
* NumberFormatter.with().unit(NoUnit.PERCENT).multiplier(Multiplier.powerOfTen(2))
* {@link Edits.Iterator} can be used for queries.
* <p>
* There are four flavors of Edits.Iterator:
- * <p>
* <ul>
* <li>{@link #getFineIterator()} retains full granularity of change edits.
* <li>{@link #getFineChangesIterator()} retains full granularity of change edits, and when calling
/**
* A string representation of the current edit represented by the iterator for debugging. You
* should not depend on the contents of the return string.
+ * @internal
+ * @deprecated This API is ICU internal only.
*/
+ @Deprecated
@Override
public String toString() {
StringBuilder sb = new StringBuilder();