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
Constructors Constructor Description Toffs(int startOffset, int endOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FieldPhraseList.WeightedPhraseInfo.Toffs other)booleanequals(Object obj)intgetEndOffset()intgetStartOffset()inthashCode()voidsetEndOffset(int endOffset)StringtoString()
-
-
-
Method Detail
-
setEndOffset
public void setEndOffset(int endOffset)
-
getStartOffset
public int getStartOffset()
-
getEndOffset
public int getEndOffset()
-
compareTo
public int compareTo(FieldPhraseList.WeightedPhraseInfo.Toffs other)
- Specified by:
compareToin interfaceComparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
-
-