public static class FieldTermStack.TermInfo extends Object implements Comparable<FieldTermStack.TermInfo>
Constructor and Description |
---|
TermInfo(String text,
int startOffset,
int endOffset,
int position,
float weight) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FieldTermStack.TermInfo o) |
boolean |
equals(Object obj) |
int |
getEndOffset() |
FieldTermStack.TermInfo |
getNext()
Returns the next TermInfo at this same position.
|
int |
getPosition() |
int |
getStartOffset() |
String |
getText() |
float |
getWeight() |
int |
hashCode() |
String |
toString() |
public TermInfo(String text, int startOffset, int endOffset, int position, float weight)
public FieldTermStack.TermInfo getNext()
public String getText()
public int getStartOffset()
public int getEndOffset()
public int getPosition()
public float getWeight()
public int compareTo(FieldTermStack.TermInfo o)
compareTo
in interface Comparable<FieldTermStack.TermInfo>
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.