Class IndexRange
- Last UpdatedJun 10, 2025
- 1 minute read
Package com.here.sdk.search
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.search.IndexRange
-
public final class IndexRange extends NativeBase
Holds information to which part of the text, input query was matched. The first character is denoted by a value of 0.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEnd()
Gets the position indicating the end of the highlighted part, exclusive.int
getStart()
Gets the position of the first character that matches a query.
-
-
-
Method Detail
-
getStart
public int getStart()
Gets the position of the first character that matches a query.
- Returns:
Position of the first character that matches a query.
-
getEnd
public int getEnd()
Gets the position indicating the end of the highlighted part, exclusive.
- Returns:
Position indicating the end of the highlighted part, exclusive.
-
-