|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.java.text.ParsePosition
public class ParsePosition
ParsePosition is used to track the current position in a String being parsed.
Constructor Summary | |
---|---|
ParsePosition(int index)
Constructs a new ParsePosition at the specified index. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Compares the specified object to this ParsePosition and answer if they are equal. |
int |
getErrorIndex()
Answers the index at which the parse could not continue. |
int |
getIndex()
Answers the current parse position. |
int |
hashCode()
Answers an integer hash code for the receiver. |
void |
setErrorIndex(int index)
Sets the index at which the parse could not continue. |
void |
setIndex(int index)
Sets the current parse position. |
java.lang.String |
toString()
Answers the string representation of this FieldPosition. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParsePosition(int index)
index
- the index to begin parsingMethod Detail |
---|
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- the object to compare with this object
hashCode()
public int getErrorIndex()
public int getIndex()
public int hashCode()
hashCode
in class java.lang.Object
equals(java.lang.Object)
public void setErrorIndex(int index)
index
- the index of the parse errorpublic void setIndex(int index)
index
- the current parse positionpublic java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |