Package no.digipost.util.bisect
Class BisectSearch.Builder<T>
java.lang.Object
no.digipost.util.bisect.BisectSearch.Builder<T>
- Enclosing class:
BisectSearch<T>
-
Method Summary
Modifier and TypeMethodDescriptioninRange(int min, int max) Specify the range of points to base the search on, using a range from an inclusive lower bound, up to, but not including, upper bound.
-
Method Details
-
inRange
Specify the range of points to base the search on, using a range from an inclusive lower bound, up to, but not including, upper bound.- Parameters:
min- the inclusive lower boundmax- the exclusive upper bound- Returns:
- the
BisectSearchinstance which can be used to perform searches
-