SearchResult.MatchRange
class SearchResult.MatchRange
Class providing the position range of a text match information.
All ranges are finite, and the left side of the range is always <= the right side of the range.
Example: MatchRange(0, 100) represents hundred ints from 0 to 99."
Summary
Public constructors |
|---|
MatchRange(start: Int, end: Int)Creates a new immutable range. |
Public functions |
|
|---|---|
Boolean |
|
Int |
getEnd()Gets the end point (exclusive). |
Int |
getStart()Gets the start point (inclusive). |
Int |
hashCode() |
String |
toString() |