RuleBasedCollator getCollationElementIterator(CharacterIterator) method in Java
The getCollationElementIterator() method of java.text.RuleBasedCollator class is used to get the object of collation element iterator for the given character iterator object. Syntax: public CollationElementIterator getCollationElementIterator(CharacterIterator source) Parameter: This method accepts