public class RegExMatch extends java.lang.Object implements java.lang.Comparable<RegExMatch>
| Modifier and Type | Field and Description |
|---|---|
static java.util.Comparator<RegExMatch> |
END_COMPARATOR |
static java.util.Comparator<RegExMatch> |
FRONT_COMPARATOR |
| Constructor and Description |
|---|
RegExMatch(long offset,
int length) |
public static final java.util.Comparator<RegExMatch> END_COMPARATOR
public static final java.util.Comparator<RegExMatch> FRONT_COMPARATOR
public long getOffset()
public void setOffset(long offset)
public int getLength()
public void setLength(int length)
public long begin()
public long end()
public boolean before(RegExMatch r)
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(RegExMatch o)
compareTo in interface java.lang.Comparable<RegExMatch>