Search State
Generic search state interface that can be used to search and manage the results
Parameters
R
: The type of the search result
Q
: The type of the search query
Inheritors
Properties
Link copied to clipboard
Initial query value and also the value to which the query is reset when the search is terminated
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Contains the search results, the map key is the page index
Link copied to clipboard
The query associated with the current results
Link copied to clipboard
Link copied to clipboard
Index of currently selected result
Link copied to clipboard
The current search status of the search
Functions
Link copied to clipboard
Returns the result at the given index or null if the index is out of bounds
Link copied to clipboard
Link copied to clipboard
Depending on the amount of search results, this method is potentially faster than results.indexOf
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks selectedResultIndex if it's still within the bounds of the result list and if not returns a valid index