Skip to content

Tag Archives: Java-RuleBasedCollator

The clone() method of java.text.RuleBasedCollator class is used to get the copy of this Collator object. Syntax: public Object clone() Parameter: This method does not… Read More
The compare() method of java.text.RuleBasedCollator class is used to compare the strength of two objects and it will return 0, positive and negative value as… Read More
The equals() method of java.text.Collator class is used to check if both the specifiedstrings are identical or not. Syntax: public boolean equals(String source, String target)… Read More
The getRules() method of java.text.RuleBasedCollator class is used to get the rule which is used during the initialization of rule based collator object. Syntax:  public… Read More
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… Read More
The hashCode() method of java.text.RuleBasedCollator class is used to get the hashCode for this Collator object.Syntax:   public abstract int hashCode() Parameter: This method does not… Read More
The getCollationElementIterator() method of java.text.RuleBasedCollator class is used to get the object of collation element iterator for the given string. Syntax: public CollationElementIterator getCollationElementIterator(String source)… Read More
The getCollationKey() method of java.text.RuleBasedCollator class is used to get the series of bit converted from string passed into it. Syntax: public CollationKey getCollationKey(String source)… Read More