Lines Matching defs:order

68  * The key of a character is an integer composed of primary order(short),
69 * secondary order(byte), and tertiary order(byte). Java strictly defines
93 * <code>CollationElementIterator.next</code> returns the collation order
94 * of the next character. A collation order consists of primary order,
95 * secondary order and tertiary order. The data type of the collation
96 * order is <strong>int</strong>. The first 16 bits of a collation order
97 * is its primary order; the next 8 bits is the secondary order and the
98 * last 8 bits is the tertiary order.
112 * Null order which indicates the end of string is reached by the
213 int order = swapOrder << 16;
215 return order;
307 int order = swapOrder << 16;
309 return order;
359 * @param order the collation element
362 public static final int primaryOrder(int order)
364 order &= RBCollationTables.PRIMARYORDERMASK;
365 return (order >>> RBCollationTables.PRIMARYORDERSHIFT);
369 * @param order the collation element
372 public static final short secondaryOrder(int order)
374 order = order & RBCollationTables.SECONDARYORDERMASK;
375 return ((short)(order >> RBCollationTables.SECONDARYORDERSHIFT));
379 * @param order the collation element
382 public static final short tertiaryOrder(int order)
384 return ((short)(order &= RBCollationTables.TERTIARYORDERMASK));
388 * Get the comparison order in the desired strength. Ignore the other
390 * @param order The order value
392 final int strengthOrder(int order)
397 order &= RBCollationTables.PRIMARYDIFFERENCEONLY;
400 order &= RBCollationTables.SECONDARYDIFFERENCEONLY;
402 return order;
483 * with the specified comparison order.
484 * @param order a collation order returned by previous or next.
486 * with the specified order.
489 public int getMaxExpansion(int order)
491 return ordering.getMaxExpansion(order);
574 * in logical order (otherwise you wouldn't need this method would you?).
635 * Check if a comparison order is ignorable.
638 static final boolean isIgnorable(int order)
640 return ((primaryOrder(order) == 0) ? true : false);
656 int order = pair.value;
689 // sequence and order will contain the collation-element value corresponding
700 order = pair.value;
706 // sequence, we're already seeked to the right position and order already contains
712 return order;
732 int order = pair.value;
763 order = pair.value;
771 return order;