The setFormatByArgumentIndex() method of java.text.MessageFormat class is used to set the new format element at the particular index in pattern of message format object by… Read More
Tag Archives: Java-text package
The getIndex() method of java.text.ParsePosition class is used to retrieve the current parse position of this ParsePositon object . Syntax: public int getIndex() Parameter: This… Read More
The equals() method of java.text.ParsePosition class is used to check if both the ParsePosition objects are same or not. Syntax: public boolean equals(Object obj) Parameter:… Read More
The toString() method of java.text.ParsePosition class is used to retrieve the parse position object represented in the form of string.Syntax: public String toString() Parameter: This… Read More
The setIndex() method of java.text.ParsePosition class is used to set the current parse position of this ParsePositon object . Syntax: public void setIndex(int index) Parameter:… Read More
The hashCode() method of java.text.ParsePosition class is used to retrieve the hash code for the current parse position object. Syntax: public int hashCode() Parameter: This… Read More
The setErrorIndex() method of java.text.ParsePosition class is used to set the index at which parse error may occur.Syntax: public void setErrorIndex(int ei) Parameter: This method… Read More
The getErrorIndex() method of java.text.ParsePosition class is used to retrieve the index at which parse error may occur. Syntax: public int getErrorIndex() Parameter: This method… Read More
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 accept… 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 specified strings are identical or not. Syntax: public boolean equals(String source, String… Read More