Package org.apache.lucene.monitor
Class HighlightsMatch.Hit
- java.lang.Object
-
- org.apache.lucene.monitor.HighlightsMatch.Hit
-
- All Implemented Interfaces:
Comparable<HighlightsMatch.Hit>
- Enclosing class:
- HighlightsMatch
public static class HighlightsMatch.Hit extends Object implements Comparable<HighlightsMatch.Hit>
Represents an individual hit
-
-
Field Summary
Fields Modifier and Type Field Description int
endOffset
The end offsetint
endPosition
The end positionsint
startOffset
The start offsetint
startPosition
The start position
-
Constructor Summary
Constructors Constructor Description Hit(int startPosition, int startOffset, int endPosition, int endOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(HighlightsMatch.Hit other)
boolean
equals(Object obj)
int
hashCode()
String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(HighlightsMatch.Hit other)
- Specified by:
compareTo
in interfaceComparable<HighlightsMatch.Hit>
-
-