public class SearchMatch extends java.lang.Object implements java.lang.Comparable<SearchMatch>
Constructor and Description |
---|
SearchMatch(int start,
int end) |
SearchMatch(int start,
int end,
java.lang.String replacement) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SearchMatch o) |
int |
getEnd() |
int |
getLength() |
java.lang.String |
getReplacement() |
int |
getStart() |
void |
move(int offset) |
java.lang.String |
toString() |
public SearchMatch(int start, int end)
public SearchMatch(int start, int end, java.lang.String replacement)
public int compareTo(SearchMatch o)
compareTo
in interface java.lang.Comparable<SearchMatch>
public int getStart()
public int getEnd()
public int getLength()
public java.lang.String getReplacement()
public void move(int offset)
public java.lang.String toString()
toString
in class java.lang.Object