Package no.digipost.util.bisect
Class BisectSearch.Builder<T>
- java.lang.Object
-
- no.digipost.util.bisect.BisectSearch.Builder<T>
-
- Enclosing class:
- BisectSearch<T>
public static final class BisectSearch.Builder<T> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BisectSearch<T>inRange(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 Detail
-
inRange
public BisectSearch<T> inRange(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.- Parameters:
min- the inclusive lower boundmax- the exclusive upper bound- Returns:
- the
BisectSearchinstance which can be used to perform searches
-
-