public class ParsePositionextends Object
ParsePosition
Format
parseObject
通过设计,当您解析具有不同格式的字符串时,您可以使用相同的ParsePosition ,因为索引参数记录当前位置。
ParsePosition(int index)
boolean
equals(Object obj)
int
getErrorIndex()
getIndex()
hashCode()
void
setErrorIndex(int ei)
setIndex(int index)
String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public ParsePosition(int index)
index
public int getIndex()
public void setIndex(int index)
public void setErrorIndex(int ei)
ei
public int getErrorIndex()
public boolean equals(Object obj)
equals
Object
obj
true
false
Object.hashCode()
HashMap
public int hashCode()
hashCode
Object.equals(java.lang.Object)
System.identityHashCode(java.lang.Object)
public String toString()
toString