Class IndexRange
Package com.here.sdk.search
Class IndexRange
- 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 intgetEnd()Gets the position indicating the end of the highlighted part, exclusive.intgetStart()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.
-
-