Class Sorter.SearchResult
- public static class Sorter.SearchResult
Class to hold counter and "found" values resulting from a search.
This class is immutable and intended to be used only to return values
from search methods.
| Constructor Summary |
Sorter.SearchResult(int comparisons, boolean found) Constructs a SearchResult object with specified values. |
comparisons
public final int comparisons
found
public final boolean found
Sorter.SearchResult
public Sorter.SearchResult(int comparisons, boolean found)
- Constructs a SearchResult object with specified values.