public static class HighlightsMatch.Hit extends Object implements Comparable<HighlightsMatch.Hit>
Modifier and Type | Field and Description |
---|---|
int |
endOffset
The end offset
|
int |
endPosition
The end positions
|
int |
startOffset
The start offset
|
int |
startPosition
The start position
|
Constructor and Description |
---|
Hit(int startPosition,
int startOffset,
int endPosition,
int endOffset) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HighlightsMatch.Hit other) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public final int startPosition
public final int startOffset
public final int endPosition
public final int endOffset
public Hit(int startPosition, int startOffset, int endPosition, int endOffset)
public int compareTo(HighlightsMatch.Hit other)
compareTo
in interface Comparable<HighlightsMatch.Hit>
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.