public static class NegexAnnotator.NegexToken extends Object implements Comparable<NegexAnnotator.NegexToken>
Constructor and Description |
---|
NegexToken(int start,
int end,
NegexAnnotator.NegexRule rule) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NegexAnnotator.NegexToken o) |
boolean |
equals(Object obj) |
int |
getEnd() |
int |
getStart() |
String |
getTag() |
int |
hashCode() |
void |
setEnd(int end) |
void |
setStart(int start) |
String |
toString() |
public NegexToken(int start, int end, NegexAnnotator.NegexRule rule)
public int compareTo(NegexAnnotator.NegexToken o)
compareTo
in interface Comparable<NegexAnnotator.NegexToken>
public int getStart()
public void setStart(int start)
public int getEnd()
public void setEnd(int end)
public String getTag()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.