public class TextLocation
Stores character start and end positions of an text file.
| Constructor and Description |
|---|
TextLocation(int start,
int end)
Stores character start and end positions of an text file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
component1() |
int |
component2() |
TextLocation |
copy(int start,
int end)
Stores character start and end positions of an text file.
|
boolean |
equals(java.lang.Object p) |
int |
getEnd() |
int |
getStart() |
int |
hashCode() |
java.lang.String |
toString() |
public TextLocation(int start,
int end)
Stores character start and end positions of an text file.
public java.lang.String toString()
public int getStart()
public int getEnd()
public int component1()
public int component2()
public TextLocation copy(int start, int end)
Stores character start and end positions of an text file.
public int hashCode()
public boolean equals(java.lang.Object p)