/[classpath]/classpath/java/text/ChoiceFormat.java
ViewVC logotype

Diff of /classpath/java/text/ChoiceFormat.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by mark, Sat Jul 2 20:32:41 2005 UTC revision 1.13 by trebligd, Sat Jul 23 20:25:15 2005 UTC
# Line 86  public class ChoiceFormat extends Number Line 86  public class ChoiceFormat extends Number
86     * object based on the specified pattern. This pattern is of the form     * object based on the specified pattern. This pattern is of the form
87     * "term#string|term#string...".  For example "1#Sunday|2#Monday|#Tuesday".     * "term#string|term#string...".  For example "1#Sunday|2#Monday|#Tuesday".
88     *     *
89     * @param pattern The pattern of terminators and format strings.     * @param newPattern The pattern of terminators and format strings.
90     *     *
91     * @exception IllegalArgumentException If the pattern is not valid     * @exception IllegalArgumentException If the pattern is not valid
92     */     */
# Line 170  public class ChoiceFormat extends Number Line 170  public class ChoiceFormat extends Number
170     * This is the same pattern type used by the <code>applyPattern</code>     * This is the same pattern type used by the <code>applyPattern</code>
171     * method.     * method.
172     *     *
173     * @param pattern The pattern of terminators and format strings.     * @param newPattern The pattern of terminators and format strings.
174     *     *
175     * @exception IllegalArgumentException If the pattern is not valid     * @exception IllegalArgumentException If the pattern is not valid
176     */     */
# Line 229  public class ChoiceFormat extends Number Line 229  public class ChoiceFormat extends Number
229     * <code>StringBuffer</code> based on the supplied <code>long</code>     * <code>StringBuffer</code> based on the supplied <code>long</code>
230     * argument.     * argument.
231     *     *
232     * @param number The number used for determine (based on the range     * @param num The number used for determine (based on the range
233     *               terminators) which format string to append.     *               terminators) which format string to append.
234     * @param sb The <code>StringBuffer</code> to append the format string to.     * @param appendBuf The <code>StringBuffer</code> to append the format string
235     * @param status Unused.     *                  to.
236       * @param pos Unused.
237     *     *
238     * @return The <code>StringBuffer</code> with the format string appended.     * @return The <code>StringBuffer</code> with the format string appended.
239     */     */
# Line 247  public class ChoiceFormat extends Number Line 248  public class ChoiceFormat extends Number
248     * <code>StringBuffer</code> based on the supplied <code>double</code>     * <code>StringBuffer</code> based on the supplied <code>double</code>
249     * argument.     * argument.
250     *     *
251     * @param number The number used for determine (based on the range     * @param num The number used for determine (based on the range
252     *               terminators) which format string to append.     *               terminators) which format string to append.
253     * @param sb The <code>StringBuffer</code> to append the format string to.     * @param appendBuf The <code>StringBuffer</code> to append the format string to.
254     * @param status Unused.     * @param pos Unused.
255     *     *
256     * @return The <code>StringBuffer</code> with the format string appended.     * @return The <code>StringBuffer</code> with the format string appended.
257     */     */
# Line 333  public class ChoiceFormat extends Number Line 334  public class ChoiceFormat extends Number
334     * double less than the specified double will be returned.     * double less than the specified double will be returned.
335     *     *
336     * @param d The specified double     * @param d The specified double
337     * @param positive <code>true</code> to return the next highest     * @param next <code>true</code> to return the next highest
338     *                 double, <code>false</code> otherwise.     *                 double, <code>false</code> otherwise.
339     *     *
340     * @return The next highest or lowest double value.     * @return The next highest or lowest double value.

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26