Home | History | Annotate | Download | only in text

Lines Matching defs:cf

49         ChoiceFormat cf = new ChoiceFormat(appleLimits, appleFormats);
51 formattedString = cf.format(Double.NEGATIVE_INFINITY);
54 formattedString = cf.format(0.5d);
57 formattedString = cf.format(1d);
60 formattedString = cf.format(1.5d);
63 formattedString = cf.format(2d);
66 formattedString = cf.format(2.5d);
69 formattedString = cf.format(3d);
72 formattedString = cf.format(4d);
75 formattedString = cf.format(5d);
78 formattedString = cf.format(5.5d);
81 formattedString = cf.format(6.0d);
84 formattedString = cf.format(Double.POSITIVE_INFINITY);
96 ChoiceFormat cf = new ChoiceFormat(patternString);
98 formattedString = cf.format(Double.NEGATIVE_INFINITY);
101 formattedString = cf.format(-3);
104 formattedString = cf.format(-2);
107 formattedString = cf.format(-1);
110 formattedString = cf.format(-0);
113 formattedString = cf.format(0);
116 formattedString = cf.format(0.1);
119 formattedString = cf.format(1);
122 formattedString = cf.format(1.5);
125 formattedString = cf.format(2);
128 formattedString = cf.format(3);
131 formattedString = cf.format(Double.POSITIVE_INFINITY);
373 ChoiceFormat cf = new ChoiceFormat("");
374 assertEquals("", cf.toPattern());
376 cf = new ChoiceFormat("-1#NEGATIVE_ONE|0#ZERO|1#ONE|1<GREATER_THAN_ONE");
378 cf.toPattern());
391 cf = new ChoiceFormat(
394 cf.applyPattern(str);
395 ptrn = cf.toPattern();