| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final transient LocalizedNumberFormatter | |
| private final transient ULocale | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public StringBuffer | format(Object
The object to format obj, StringBuffer where the text is to be appended toAppendTo, FieldPosition A pos)FieldPosition identifying a field
in the formatted textImplements abstract java. |
| public AttributedCharacterIterator | formatToCharacterIterator(Object
The object to format obj)Overrides java. |
| public LocalizedNumberFormatter | Returns: The unwrapped LocalizedNumberFormatter.Gets the LocalizedNumberFormatter that this wrapper class uses to format numbers. |
| public int | |
| public Object | parseObject(String
A source, ParsePosition String, part of which should be parsed.A pos)ParsePosition object with index and error
index information as described above.Implements abstract java. |
| private Object |
| formatter | back to summary |
|---|---|
| private final transient LocalizedNumberFormatter formatter | |
| locale | back to summary |
|---|---|
| private final transient ULocale locale | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LocalizedNumberFormatterAsFormat | back to summary |
|---|---|
| public LocalizedNumberFormatterAsFormat(LocalizedNumberFormatter formatter, ULocale locale) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| format | back to summary |
|---|---|
| public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) Implements abstract java. Doc from java. Formats a Number using the wrapped LocalizedNumberFormatter. The provided object must be a Number.
Formats an object and appends the resulting text to a given string
buffer.
If the
| |
| formatToCharacterIterator | back to summary |
|---|---|
| public AttributedCharacterIterator formatToCharacterIterator(Object obj) Overrides java. Doc from java. Formats a Number using the wrapped LocalizedNumberFormatter. The provided object must be a Number.
Formats an Object producing an
Each attribute key of the AttributedCharacterIterator will be of type
The default implementation creates an
| |
| getNumberFormatter | back to summary |
|---|---|
| public LocalizedNumberFormatter getNumberFormatter() Gets the LocalizedNumberFormatter that this wrapper class uses to format numbers.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parseObject | back to summary |
|---|---|
| public Object parseObject(String source, ParsePosition pos) Implements abstract java. Not supported. This method will throw UnsupportedOperationException.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() throws ObjectStreamException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| private static final long | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. |
| private Object | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. |
| languageTag | back to summary |
|---|---|
| pack-priv String languageTag | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| skeleton | back to summary |
|---|---|
| pack-priv String skeleton | |
| Proxy | back to summary |
|---|---|
| public Proxy() | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() throws ObjectStreamException | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |