Interface SearchResult<T>

  • Type Parameters:
    T - the type of results

    public interface SearchResult<T>
    • Method Detail

      • getCount

        int getCount()
        Returns:
        the size of the search result
      • getResults

        List<T> getResults​(int from,
                           int to)
        Returns a subset of the search results. E.g., getResults(0, getCount()) returns the full result set.
        Parameters:
        from - the from index (inclusive)
        to - the to index (exclusive)
        Returns:
        the search results between the given indices