Class FieldPhraseList.WeightedPhraseInfo.Toffs
java.lang.Object
org.apache.lucene.search.vectorhighlight.FieldPhraseList.WeightedPhraseInfo.Toffs
- All Implemented Interfaces:
Comparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
- Enclosing class:
- FieldPhraseList.WeightedPhraseInfo
public static class FieldPhraseList.WeightedPhraseInfo.Toffs
extends Object
implements Comparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
Term offsets (start + end)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
int
int
hashCode()
void
setEndOffset
(int endOffset) toString()
-
Constructor Details
-
Toffs
public Toffs(int startOffset, int endOffset)
-
-
Method Details
-
setEndOffset
public void setEndOffset(int endOffset) -
getStartOffset
public int getStartOffset() -
getEndOffset
public int getEndOffset() -
compareTo
- Specified by:
compareTo
in interfaceComparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
-
hashCode
public int hashCode() -
equals
-
toString
-