Class PaddingDecimalFormat
java.lang.Object
java.text.Format
java.text.NumberFormat
java.text.DecimalFormat
org.apache.pulsar.testclient.utils.PaddingDecimalFormat
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.text.NumberFormat
NumberFormat.Field, NumberFormat.Style -
Field Summary
Fields inherited from class java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD -
Constructor Summary
ConstructorsConstructorDescriptionPaddingDecimalFormat(String pattern, int minLength) Creates a PaddingDecimalFormat using the given pattern and minimum minimumLength and the symbols for the default locale.PaddingDecimalFormat(String pattern, DecimalFormatSymbols symbols, int minLength) Creates a PaddingDecimalFormat using the given pattern, symbols and minimum minimumLength. -
Method Summary
Modifier and TypeMethodDescriptionformat(double number, StringBuffer toAppendTo, FieldPosition pos) format(long number, StringBuffer toAppendTo, FieldPosition pos) Methods inherited from class java.text.DecimalFormat
applyLocalizedPattern, applyPattern, clone, equals, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, getRoundingMode, hashCode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, parse, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, setRoundingMode, toLocalizedPattern, toPatternMethods inherited from class java.text.NumberFormat
format, format, getAvailableLocales, getCompactNumberInstance, getCompactNumberInstance, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnlyMethods inherited from class java.text.Format
format, parseObject
-
Constructor Details
-
PaddingDecimalFormat
Creates a PaddingDecimalFormat using the given pattern and minimum minimumLength and the symbols for the default locale. -
PaddingDecimalFormat
Creates a PaddingDecimalFormat using the given pattern, symbols and minimum minimumLength.
-
-
Method Details
-
format
- Overrides:
formatin classDecimalFormat
-
format
- Overrides:
formatin classDecimalFormat
-