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

Diff of /classpath/java/text/CollationElementIterator.java

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

revision 1.19 by glavaux, Thu Jul 15 12:53:24 2004 UTC revision 1.20 by mkoch, Fri Oct 22 17:15:57 2004 UTC
# Line 181  public final class CollationElementItera Line 181  public final class CollationElementItera
181     *     *
182     * @return The primary order value of the specified collation value.  This is the high 16 bits.     * @return The primary order value of the specified collation value.  This is the high 16 bits.
183     */     */
184    public static final int primaryOrder(int order)    public static int primaryOrder(int order)
185    {    {
186      // From the JDK 1.2 spec.      // From the JDK 1.2 spec.
187      return order >>> 16;      return order >>> 16;
# Line 205  public final class CollationElementItera Line 205  public final class CollationElementItera
205     *     *
206     * @return The secondary order value of the specified collation value.  This is the bits 8-15.     * @return The secondary order value of the specified collation value.  This is the bits 8-15.
207     */     */
208    public static final short secondaryOrder(int order)    public static short secondaryOrder(int order)
209    {    {
210      // From the JDK 1.2 spec.      // From the JDK 1.2 spec.
211      return (short) ((order >>> 8) & 255);      return (short) ((order >>> 8) & 255);
# Line 219  public final class CollationElementItera Line 219  public final class CollationElementItera
219     *     *
220     * @return The tertiary order value of the specified collation value.  This is the low eight bits.     * @return The tertiary order value of the specified collation value.  This is the low eight bits.
221     */     */
222    public static final short tertiaryOrder(int order)    public static short tertiaryOrder(int order)
223    {    {
224      // From the JDK 1.2 spec.      // From the JDK 1.2 spec.
225      return (short) (order & 255);      return (short) (order & 255);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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