Example usage for Java java.text ChoiceFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
ChoiceFormat(double[] limits, String[] formats) Constructs with the limits and the corresponding formats. | |
ChoiceFormat(String newPattern) Constructs with limits and corresponding formats based on the pattern. |
String | format(double number) Specialization of format. |
Object[] | getFormats() Get the formats passed in the constructor. |
double[] | getLimits() Get the limits passed in the constructor. |
double | nextDouble(double d) Finds the least double greater than d . |
double | previousDouble(double d) Finds the greatest double less than d . |
void | setChoices(double[] limits, String formats[]) Set the choices to be used in formatting. |