| Modifier and Type | Class and Description |
|---|---|
| public static enum | DecimalFormatProperties.ParseMode
Controls the set of rules for parsing a string from the old DecimalFormat API. |
| Modifier and Type | Field and Description |
|---|---|
| private transient Map | |
| private transient CompactDecimalFormat. | |
| private transient Currency | |
| private transient boolean | |
| private transient CurrencyPluralInfo | |
| private transient Currency. | |
| private transient boolean | |
| private transient boolean | |
| private static final DecimalFormatProperties | |
| private transient boolean | |
| private transient int | |
| private transient int | |
| private transient boolean | |
| private transient int | |
| private transient MathContext | |
| private transient int | |
| private transient int | |
| private transient int | |
| private transient int | |
| private transient int | |
| private transient int | |
| private transient int | |
| private transient int | |
| private transient BigDecimal | |
| private transient String | |
| private transient String | |
| private transient String | |
| private transient String | |
| private transient Padder. | |
| private transient String | |
| private transient boolean | |
| private transient boolean | |
| private transient DecimalFormatProperties. | |
| private transient boolean | |
| private transient boolean | |
| private transient PluralRules | |
| private transient String | |
| private transient String | |
| private transient String | |
| private transient String | |
| private transient BigDecimal | |
| private transient RoundingMode | |
| private transient int | |
| private static final long | serialVersionUID
Auto-generated. |
| private transient boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private DecimalFormatProperties | |
| private DecimalFormatProperties | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private int | |
| private int | |
| private int | |
| public DecimalFormatProperties | |
| public DecimalFormatProperties | |
| public DecimalFormatProperties | Returns: The current property bag (the one modified by this operation), for chaining.The property bag from which to copy and which will not be modified. other)Shallow-copies the properties from the given property bag into this property bag. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public Map | |
| public CompactDecimalFormat. | |
| public Currency | |
| public boolean | |
| public CurrencyPluralInfo | |
| public Currency. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | |
| public int | |
| public boolean | |
| public int | |
| public MathContext | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public BigDecimal | |
| public String | |
| public String | |
| public String | |
| public String | |
| public Padder. | |
| public String | |
| public boolean | |
| public boolean | |
| public DecimalFormatProperties. | |
| public boolean | |
| public boolean | |
| public PluralRules | |
| public String | |
| public String | |
| public String | |
| public String | |
| public BigDecimal | |
| public RoundingMode | |
| public int | |
| public boolean | |
| public int | |
| private void | |
| pack-priv void | |
| public DecimalFormatProperties | |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The style of prefixes/suffixes to append. compactStyleUse compact decimal formatting with the specified |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The currency. currency)Use the specified currency to substitute currency placeholders ('¤') in the pattern string. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.Whether the currency symbol should replace the decimal separator. currencyAsDecimal)Sets whether the currency symbol should replace the decimal separator. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The currency plural info object. currencyPluralInfo)Use the specified |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The currency usage. Defaults to CurrencyUsage.STANDARD. currencyUsageUse the specified |
| public DecimalFormatProperties | Returns: The property bag, for chaining.true to set an error if decimal is not present decimalPatternMatchRequired)PARSING: Whether to require that the presence of decimal point matches the pattern. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.Whether to show the decimal point when it is optional. alwaysShowDecimal)Sets whether to always show the decimal point, even if the number doesn't require one. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.Whether to show the plus sign in positive exponents. exponentSignAlwaysShown)Sets whether to show the plus sign in the exponent part of numbers with a zero or positive exponent. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The output width. paddingWidth)Sets the minimum width of the string output by the formatting pipeline. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The primary grouping size. groupingSize)Sets the number of digits between grouping separators. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.true to enable the display of grouping separators; false to disable. groupingUsed)Sets whether to enable grouping when formatting. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The number of powers of ten to scale. magnitudeMultiplier)Multiply all numbers by this power of ten before formatting. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The math context to use when rounding is required. mathContext)Sets the |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The maximum number of fraction digits to output. maximumFractionDigits)Sets the maximum number of digits to display after the decimal point. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The maximum number of integer digits to output. maximumIntegerDigits)Sets the maximum number of digits to display before the decimal point. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The maximum number of significant digits to display. maximumSignificantDigits)Sets the maximum number of significant digits to display. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The minimum number of digits to display in the exponent field. minimumExponentDigits)Sets the minimum number of digits to display in the exponent. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The minimum number of fraction digits to output. minimumFractionDigits)Sets the minimum number of digits to display after the decimal point. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.How many digits must appear before a grouping separator before enabling grouping. minimumGroupingDigits)Sets the minimum number of digits required to be beyond the first grouping separator in order to enable grouping. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The minimum number of integer digits to output. minimumIntegerDigits)Sets the minimum number of digits to display before the decimal point. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The minimum number of significant digits to display. minimumSignificantDigits)Sets the minimum number of significant digits to display. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The amount to multiply by. multiplier)Multiply all numbers by this amount before formatting. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to prepend to negative numbers. negativePrefix)Sets the prefix to prepend to negative numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to prepend to negative numbers after locale symbol substitutions take
place. negativePrefixPattern)Sets the prefix to prepend to negative numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to append to negative numbers. negativeSuffix)Sets the suffix to append to negative numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to append to negative numbers after locale symbol substitutions take
place. negativeSuffixPattern)Sets the suffix to append to negative numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The output width. paddingLocationSets the location where the padding string is to be inserted to maintain the padding width: one of BEFORE_PREFIX, AFTER_PREFIX, BEFORE_SUFFIX, or AFTER_SUFFIX. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The padding string. Defaults to an ASCII space (U+0020). paddingString)Sets the string used for padding. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.true to be case-sensitive when parsing; false to allow any case. parseCaseSensitive)Whether to require cases to match when parsing strings; default is true. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.true to parse integers only; false to parse integers with their fraction parts parseIntegerOnly)Whether to ignore the fractional part of numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.Either parseModeParseMode#LENIENT or ParseMode#STRICT.Controls certain rules for how strict this parser is when reading strings. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.true to ignore exponents; false to parse them. parseNoExponent)Whether to ignore the exponential part of numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.true to always return a BigDecimal; false to return a Long or a BigInteger when
possible. parseToBigDecimal)Whether to always return a BigDecimal from parse methods. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The object to reference. pluralRules)Sets the PluralRules object to use instead of the default for the locale. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to prepend to positive numbers. positivePrefix)Sets the prefix to prepend to positive numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to prepend to positive numbers after locale symbol substitutions take
place. positivePrefixPattern)Sets the prefix to prepend to positive numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to append to positive numbers. positiveSuffix)Sets the suffix to append to positive numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The CharSequence to append to positive numbers after locale symbol substitutions take
place. positiveSuffixPattern)Sets the suffix to append to positive numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The interval to which to round. roundingIncrement)Sets the increment to which to round numbers. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The rounding mode to use when rounding is required. roundingMode)Sets the rounding mode, which determines under which conditions extra decimal places are rounded either up or down. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.The secondary grouping size. secondaryGroupingSize)Sets the number of digits between grouping separators higher than the least-significant grouping separator. |
| public DecimalFormatProperties | Returns: The property bag, for chaining.Whether positive numbers should display a plus sign. signAlwaysShown)Sets whether to always display of a plus sign on positive numbers. |
| public String | |
| public void | toStringBare(StringBuilder result)
Appends a string containing properties that differ from the default, but without being surrounded by <Properties>. |
| private void | writeObject(ObjectOutputStream oos)
Custom serialization: save fields along with their name, so that fields can be easily added in the future in any order. |
| pack-priv void |