Package org.omegat.core.search
Class SearchMatch
java.lang.Object
org.omegat.core.search.SearchMatch
- All Implemented Interfaces:
Comparable<SearchMatch>
Class for store info about matching position.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchMatch(int start, int end) SearchMatch(int start, int end, String replacement) -
Method Summary
-
Constructor Details
-
SearchMatch
public SearchMatch(int start, int end) -
SearchMatch
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<SearchMatch>
-
getStart
public int getStart() -
getEnd
public int getEnd() -
getLength
public int getLength() -
getReplacement
-
move
public void move(int offset) -
toString
-