public class DefaultTextPointer extends java.lang.Object implements TextPointer
| Constructor and Description |
|---|
DefaultTextPointer(int line,
int lineOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TextPointer o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
int |
line()
The logical line where this pointer is located.
|
int |
lineOffset()
The offset of this pointer in the current line.
|
java.lang.String |
toString() |
public int line()
TextPointerline in interface TextPointerpublic int lineOffset()
TextPointerlineOffset in interface TextPointerpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TextPointer o)
compareTo in interface java.lang.Comparable<TextPointer>