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 Details

    • 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 bound
      max - the exclusive upper bound
      Returns:
      the BisectSearch instance which can be used to perform searches