Class FieldPhraseList.WeightedPhraseInfo.Toffs
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldPhraseList.WeightedPhraseInfo.Toffs
-
- All Implemented Interfaces:
java.lang.Comparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
- Enclosing class:
- FieldPhraseList.WeightedPhraseInfo
public static class FieldPhraseList.WeightedPhraseInfo.Toffs extends java.lang.Object implements java.lang.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 int
compareTo(FieldPhraseList.WeightedPhraseInfo.Toffs other)
boolean
equals(java.lang.Object obj)
int
getEndOffset()
int
getStartOffset()
int
hashCode()
void
setEndOffset(int endOffset)
java.lang.String
toString()
-
-
-
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:
compareTo
in interfacejava.lang.Comparable<FieldPhraseList.WeightedPhraseInfo.Toffs>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-