public class DefaultTextPointer extends Object implements TextPointer
| Constructor and Description |
|---|
DefaultTextPointer(int line,
int lineOffset) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TextPointer o) |
boolean |
equals(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.
|
String |
toString() |
public DefaultTextPointer(int line, int lineOffset)
public int line()
TextPointerline in interface TextPointerpublic int lineOffset()
TextPointerlineOffset in interface TextPointerpublic int compareTo(TextPointer o)
compareTo in interface Comparable<TextPointer>Copyright © 2009–2017 SonarSource. All rights reserved.