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.
返回匹配数,如果没有找到,则返回0。 |
int |
indexOfSelectedMatch()
Returns index of the currently selected match or 0 when there's no matches.
返回当前所选匹配项的索引;如果没有匹配项,则返回0。 |
boolean |
isCompleted()
Returns
如果搜索完成,则返回true。 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.