Java java.text ChoiceFormat fields, constructors, methods, implement or subclass

Example usage for Java java.text ChoiceFormat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.text ChoiceFormat.

The text is from its open source code.

Constructor

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.

Method

Stringformat(double number)
Specialization of format.
Object[]getFormats()
Get the formats passed in the constructor.
double[]getLimits()
Get the limits passed in the constructor.
doublenextDouble(double d)
Finds the least double greater than d .
doublepreviousDouble(double d)
Finds the greatest double less than d .
voidsetChoices(double[] limits, String formats[])
Set the choices to be used in formatting.