Package gnu.text
Class StringCursor
- java.lang.Object
-
- gnu.text.StringCursor
-
- All Implemented Interfaces:
Externalizable,Serializable,Comparable
public final class StringCursor extends Object implements Comparable, Externalizable
Boxed class for the 'string-cursor' type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringCursor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcheckStringCursor(Object obj)intcompareTo(Object o)intgetValue()voidreadExternal(ObjectInput in)StringtoString()static StringCursorvalueOf(int value)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
valueOf
public static StringCursor valueOf(int value)
-
getValue
public int getValue()
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin interfaceComparable
-
checkStringCursor
public static int checkStringCursor(Object obj)
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
-