Methods Summary |
---|
public boolean | equals(java.lang.Object o)Two TermVectorOffsetInfos are equals if both the start and end offsets are the same
if (this == o) return true;
if (!(o instanceof TermVectorOffsetInfo)) return false;
final TermVectorOffsetInfo termVectorOffsetInfo = (TermVectorOffsetInfo) o;
if (endOffset != termVectorOffsetInfo.endOffset) return false;
if (startOffset != termVectorOffsetInfo.startOffset) return false;
return true;
|
public int | getEndOffset()The accessor for the ending offset for the term
return endOffset;
|
public int | getStartOffset()The accessor for the starting offset of the term.
return startOffset;
|
public int | hashCode()
int result;
result = startOffset;
result = 29 * result + endOffset;
return result;
|
public void | setEndOffset(int endOffset)
this.endOffset = endOffset;
|
public void | setStartOffset(int startOffset)
this.startOffset = startOffset;
|