Methods Summary |
---|
protected void | finalize()Garbage collection.
Close C collator and reclaim memory.
NativeCollation.closeElements(m_collelemiterator_);
|
public int | getMaxExpansion(int order)Get the maximum length of any expansion sequences that end with the
specified comparison order.
return NativeCollation.getMaxExpansion(m_collelemiterator_, order);
|
public int | getOffset()Get the offset of the current source character.
This is an offset into the text of the character containing the current
collation elements.
return NativeCollation.getOffset(m_collelemiterator_);
|
public int | next()Get the ordering priority of the next collation element in the text.
A single character may contain more than one collation element.
return NativeCollation.next(m_collelemiterator_);
|
public int | previous()Get the ordering priority of the previous collation element in the text.
A single character may contain more than one collation element.
return NativeCollation.previous(m_collelemiterator_);
|
public static int | primaryOrder(int order)Gets the primary order of a collation order.
return ((order & PRIMARY_ORDER_MASK_) >> PRIMARY_ORDER_SHIFT_) &
UNSIGNED_16_BIT_MASK_;
|
public void | reset()Reset the collation elements to their initial state.
This will move the 'cursor' to the beginning of the text.
// public methods -----------------------------------------------
NativeCollation.reset(m_collelemiterator_);
|
public static int | secondaryOrder(int order)Gets the secondary order of a collation order.
return (order & SECONDARY_ORDER_MASK_) >> SECONDARY_ORDER_SHIFT_;
|
public void | setOffset(int offset)Set the offset of the current source character.
This is an offset into the text of the character to be processed.
NativeCollation.setOffset(m_collelemiterator_, offset);
|
public void | setText(java.lang.String source)Set the text containing the collation elements.
NativeCollation.setText(m_collelemiterator_, source);
|
public void | setText(java.text.CharacterIterator source)
NativeCollation.setText(m_collelemiterator_, source.toString());
|
public static int | tertiaryOrder(int order)Gets the tertiary order of a collation order.
return order & TERTIARY_ORDER_MASK_;
|