public static class NegexAnnotator.NegexToken extends java.lang.Object implements java.lang.Comparable<NegexAnnotator.NegexToken>
Modifier and Type | Field and Description |
---|---|
private int |
end |
private NegexAnnotator.NegexRule |
rule |
private int |
start |
Constructor and Description |
---|
NegexAnnotator.NegexToken(int start,
int end,
NegexAnnotator.NegexRule rule) |
private int start
private int end
private NegexAnnotator.NegexRule rule
public NegexAnnotator.NegexToken(int start, int end, NegexAnnotator.NegexRule rule)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(NegexAnnotator.NegexToken o)
compareTo
in interface java.lang.Comparable<NegexAnnotator.NegexToken>
public int getStart()
public void setStart(int start)
public int getEnd()
public void setEnd(int end)
public java.lang.String getTag()