- limits
- an array of doubles in ascending order. The lowest and highest possible values are negative and positive infinity.
- formats
- the strings associated with the ranges defined through limits. The lower bound of the associated range is at the same index as the string.
Sets the double values and associated strings of this ChoiceFormat. When calling ChoiceFormat.Format(double, Java.Lang.StringBuffer, Java.Lang.StringBuffer) with a double value d, then the element i in formats is selected where i fulfills limits[i] <= d .
The length of the limits and formats arrays must be the same.