Skip to content

Tag Archives: Java-CollationElementIterator

The setText() method of java.text.CollationElementIterator class is used to set the new source string for CollationElementIterator object to iterate.  Syntax: public void setText(CharacterIterator source) Parameter:… Read More
The setText() method of java.text.CollationElementIterator class is used to set the new source string for CollationElementIterator object to iterate. Syntax:  public void setText(String source) Parameter:… Read More
The primaryOrder() method of java.text.CollationElementIterator class is used to provide the primary component of every Collision element of CollationElementIterator object. Syntax:  public static final int… Read More
The secondaryOrder() method of java.text.CollationElementIterator class is used to provide the secondary component of every Collation element of CollationElementIterator object. Syntax: public static final short… Read More
The previous() method of java.text.CollationElementIterator class is used to get previous Collator element. This method push the iterator to the previous element and returns its… Read More
The setOffset() method of java.text.CollationElementIterator class is used to set the cursor of the iterator to the particular index passed as parameter. Syntax:  public void… Read More
The getOffset() method of java.text.CollationElementIterator class is used to get the index of item present at collator currently pointed by CollationElementIterator. Syntax: public int getOffset()… Read More
The next() method of java.text.CollationElementIterator class is used to get next Collator element. This method push the iterator to the next element and returns its… Read More
The reset() method of java.text.CollationElementIterator class is used to reset the cursor of the iterator to the beginning of the input string. Syntax:  public void… Read More
The tertiaryOrder() method of java.text.CollationElementIterator class is used to provide the tertiary component of every collation element of CollationElementIterator object. Syntax:  public static final short… Read More
The getMaxExpansion() method of java.text.CollationElementIterator class is used to get the maximum expansion that any specified sequence ending can reach.Syntax:   public int getMaxExpansion(int order) Parameter:… Read More