All Packages Class Hierarchy This Package Previous Next Index
Class java.text.NumberFormatData
java.lang.Object
|
+----java.text.NumberFormatData
- public final class NumberFormatData
- extends Object
- implements Cloneable, Serializable
Class for encapsulating localizable number data.
This information is generally left as localized for a given
country. It is used in DecimalFormat.
The meaning of the fields should be clear from the names,
unless otherwise noted.
- See Also:
- Locale, NumberFormat, DecimalFormat
-
decimalSign
- character used for decimal sign.
-
digit
- character used for a digit in a pattern.
-
exponential
- character used to represent exponentials.
-
infinity
- character used to represent infinity.
-
millePercent
- character used for mille percent sign.
-
minusSign
- character used to represent minus sign.
-
nan
- character used to represent nan.
-
patternDecimalSign
- Character used in programmatic (unlocalized)
patterns.
-
patternDigit
- Character used in programmatic (unlocalized)
patterns.
-
patternMillePercent
- Character used in programmatic (unlocalized)
patterns.
-
patternPercent
- Character used in programmatic (unlocalized)
patterns.
-
patternSeparator
- Character used in programmatic (unlocalized)
patterns.
-
patternSpaceDigit
- Character used in programmatic (unlocalized)
patterns.
-
patternStarDigit
- Character used in programmatic (unlocalized)
patterns.
-
patternThousandsSign
- Character used in programmatic (unlocalized)
patterns.
-
patternZeroDigit
- Character used in programmatic (unlocalized)
patterns.
-
percent
- character used for percent sign.
-
separator
- character used to separate positive and negative subpatterns
in a pattern.
-
spaceDigit
- character used for a digit in a pattern.
-
starDigit
- character used for a digit in a pattern.
-
thousandsSign
- character used for thousands separator.
-
zeroDigit
- character used for zero.
-
clone()
- Standard override.
-
equals(Object)
- Equality comparison between two number format objects.
-
hashCode()
- Generates a hash code for the number format data object.
zeroDigit
public char zeroDigit
- character used for zero. Different for Arabic, etc.
thousandsSign
public char thousandsSign
- character used for thousands separator. Different for French, etc.
decimalSign
public char decimalSign
- character used for decimal sign. Different for French, etc.
millePercent
public char millePercent
- character used for mille percent sign. Different for Arabic, etc.
percent
public char percent
- character used for percent sign. Different for Arabic, etc.
digit
public char digit
- character used for a digit in a pattern.
starDigit
public char starDigit
- character used for a digit in a pattern. Fill in with stars
if the digit is zero.
spaceDigit
public char spaceDigit
- character used for a digit in a pattern. Fill in with spaces
if the digit is zero.
separator
public char separator
- character used to separate positive and negative subpatterns
in a pattern.
infinity
public String infinity
- character used to represent infinity. Almost always left
unchanged.
nan
public String nan
- character used to represent nan. Almost always left
unchanged.
minusSign
public char minusSign
- character used to represent minus sign. If no explicit
negative format is specified, one is formed by prefixing
minusSign to the positive format.
exponential
public char exponential
- character used to represent exponentials.
patternZeroDigit
public final static char patternZeroDigit
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternThousandsSign
public final static char patternThousandsSign
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternDecimalSign
public final static char patternDecimalSign
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternMillePercent
public final static char patternMillePercent
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternPercent
public final static char patternPercent
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternDigit
public final static char patternDigit
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternStarDigit
public final static char patternStarDigit
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternSpaceDigit
public final static char patternSpaceDigit
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
patternSeparator
public final static char patternSeparator
- Character used in programmatic (unlocalized)
patterns. See the corresponding instance variable.
clone
public Object clone()
- Standard override.
- Overrides:
- clone in class Object
equals
public boolean equals(Object obj)
- Equality comparison between two number format objects.
- Overrides:
- equals in class Object
hashCode
public synchronized int hashCode()
- Generates a hash code for the number format data object.
- Overrides:
- hashCode in class Object
All Packages Class Hierarchy This Package Previous Next Index