Skip to content

Tag Archives: Java-ParsePosition

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 occurr. Syntax: public void setErrorIndex(int ei) Parameter: This… 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