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()
TextPointer
line
in interface TextPointer
public int lineOffset()
TextPointer
lineOffset
in interface TextPointer
public int compareTo(TextPointer o)
compareTo
in interface Comparable<TextPointer>
Copyright © 2009–2018 SonarSource. All rights reserved.