public class Match<K,V> extends java.lang.Object implements HasInterval<java.lang.Integer>
CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, LENGTH_GT_COMPARATOR, LENGTH_LT_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
Constructor and Description |
---|
Match() |
Match(java.util.List<K> matched,
V value,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getBegin() |
java.lang.Object |
getCustom() |
int |
getEnd() |
Interval<java.lang.Integer> |
getInterval()
Returns the interval
|
java.util.List<K> |
getMatched() |
int |
getMatchedLength() |
V |
getValue() |
int |
hashCode() |
void |
setCustom(java.lang.Object customMatchObject) |
java.lang.String |
toString() |
public java.util.List<K> getMatched()
public int getMatchedLength()
public V getValue()
public int getBegin()
public int getEnd()
public java.lang.Object getCustom()
public void setCustom(java.lang.Object customMatchObject)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Interval<java.lang.Integer> getInterval()
HasInterval
getInterval
in interface HasInterval<java.lang.Integer>