public class StringMatch extends Object implements Comparable<StringMatch>
| Constructor and Description |
|---|
StringMatch(long start,
long end,
String match) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StringMatch o) |
long |
end() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty() |
int |
length() |
long |
start() |
String |
text() |
String |
toString() |
public StringMatch(long start,
long end,
String match)
start - the start of the matchend - the end of the matchmatch - the matched stringpublic long start()
public long end()
public String text()
public boolean isEmpty()
public int length()
public int compareTo(StringMatch o)
compareTo in interface Comparable<StringMatch>Copyright © 2016. All rights reserved.