src/java.base/share/classes/java/text/ChoiceFormat.java
changeset 51275 b095f437af22
parent 51257 979e349059eb
child 54206 003cc64366da
equal deleted inserted replaced
51274:24904e14794b 51275:b095f437af22
   552      * <code>choiceLimits[i]</code> and less than <code>choiceLimits[i+1]</code>.
   552      * <code>choiceLimits[i]</code> and less than <code>choiceLimits[i+1]</code>.
   553      * @serial
   553      * @serial
   554      */
   554      */
   555     private String[] choiceFormats;
   555     private String[] choiceFormats;
   556 
   556 
   557     static final long SIGN                = 0x8000000000000000L;
       
   558     static final long EXPONENT            = 0x7FF0000000000000L;
       
   559     static final long POSITIVEINFINITY    = 0x7FF0000000000000L;
       
   560 
       
   561     /**
   557     /**
   562      * Finds the least double greater than {@code d} (if {@code positive} is
   558      * Finds the least double greater than {@code d} (if {@code positive} is
   563      * {@code true}), or the greatest double less than {@code d} (if
   559      * {@code true}), or the greatest double less than {@code d} (if
   564      * {@code positive} is {@code false}).
   560      * {@code positive} is {@code false}).
   565      * If {@code NaN}, returns same value.
   561      * If {@code NaN}, returns same value.