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

Variable Index

 o decimalSign
character used for decimal sign.
 o digit
character used for a digit in a pattern.
 o exponential
character used to represent exponentials.
 o infinity
character used to represent infinity.
 o millePercent
character used for mille percent sign.
 o minusSign
character used to represent minus sign.
 o nan
character used to represent nan.
 o patternDecimalSign
Character used in programmatic (unlocalized) patterns.
 o patternDigit
Character used in programmatic (unlocalized) patterns.
 o patternMillePercent
Character used in programmatic (unlocalized) patterns.
 o patternPercent
Character used in programmatic (unlocalized) patterns.
 o patternSeparator
Character used in programmatic (unlocalized) patterns.
 o patternSpaceDigit
Character used in programmatic (unlocalized) patterns.
 o patternStarDigit
Character used in programmatic (unlocalized) patterns.
 o patternThousandsSign
Character used in programmatic (unlocalized) patterns.
 o patternZeroDigit
Character used in programmatic (unlocalized) patterns.
 o percent
character used for percent sign.
 o separator
character used to separate positive and negative subpatterns in a pattern.
 o spaceDigit
character used for a digit in a pattern.
 o starDigit
character used for a digit in a pattern.
 o thousandsSign
character used for thousands separator.
 o zeroDigit
character used for zero.

Method Index

 o clone()
Standard override.
 o equals(Object)
Equality comparison between two number format objects.
 o hashCode()
Generates a hash code for the number format data object.

Variables

 o zeroDigit
  public char zeroDigit
character used for zero. Different for Arabic, etc.

 o thousandsSign
  public char thousandsSign
character used for thousands separator. Different for French, etc.

 o decimalSign
  public char decimalSign
character used for decimal sign. Different for French, etc.

 o millePercent
  public char millePercent
character used for mille percent sign. Different for Arabic, etc.

 o percent
  public char percent
character used for percent sign. Different for Arabic, etc.

 o digit
  public char digit
character used for a digit in a pattern.

 o starDigit
  public char starDigit
character used for a digit in a pattern. Fill in with stars if the digit is zero.

 o spaceDigit
  public char spaceDigit
character used for a digit in a pattern. Fill in with spaces if the digit is zero.

 o separator
  public char separator
character used to separate positive and negative subpatterns in a pattern.

 o infinity
  public String infinity
character used to represent infinity. Almost always left unchanged.

 o nan
  public String nan
character used to represent nan. Almost always left unchanged.

 o 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.

 o exponential
  public char exponential
character used to represent exponentials.

 o patternZeroDigit
  public final static char patternZeroDigit
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternThousandsSign
  public final static char patternThousandsSign
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternDecimalSign
  public final static char patternDecimalSign
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternMillePercent
  public final static char patternMillePercent
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternPercent
  public final static char patternPercent
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternDigit
  public final static char patternDigit
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternStarDigit
  public final static char patternStarDigit
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternSpaceDigit
  public final static char patternSpaceDigit
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

 o patternSeparator
  public final static char patternSeparator
Character used in programmatic (unlocalized) patterns. See the corresponding instance variable.

Methods

 o clone
  public Object clone()
Standard override.

Overrides:
clone in class Object
 o equals
  public boolean equals(Object obj)
Equality comparison between two number format objects.

Overrides:
equals in class Object
 o 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