|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jeuclid.biparser.TextPosition
public class TextPosition
Tree search result (used for the cursor).
Constructor Summary | |
---|---|
TextPosition(int offset,
int len)
standard constructor. |
Method Summary | |
---|---|
int |
getLength()
gets length. |
int |
getTotalOffset()
gets total offset. |
void |
setLength(int len)
sets length. |
void |
setTotalOffset(int offset)
sets total offset. |
String |
toString()
gets search result's string representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextPosition(int offset, int len)
offset
- total position indexlen
- node lengthMethod Detail |
---|
public final int getTotalOffset()
public final void setTotalOffset(int offset)
offset
- the totalOffset to setpublic final int getLength()
public final void setLength(int len)
len
- the length to setpublic final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |