public final class SearchResult
extends java.lang.Object
Constructor and Description |
---|
SearchResult(int currentMatch,
int numberOfMatches,
boolean isCompleted) |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfMatches()
Returns number of the matches or 0 when no matches found.
|
int |
indexOfSelectedMatch()
Returns index of the currently selected match or 0 when there's no matches.
|
boolean |
isCompleted()
Returns
true if the search is completed. |
public SearchResult(int currentMatch, int numberOfMatches, boolean isCompleted)
public int indexOfSelectedMatch()
public int getNumberOfMatches()
public boolean isCompleted()
true
if the search is completed.