Package no.digipost.util.bisect
-
Interface Summary Interface Description Evaluator<T> An evaluator is used to quantify a suggested value as one of the values ofEvaluator.Result, and sort defines what an ideal target value is like.Evaluator.OutputStreamObjectWriter<T,O extends OutputStream> Suggester<T> A suggester function is used byBisectSearchto generate suggestions from distinct "points" of a range of integers.Suggestion.Disposer<T> A disposing operation for a dismissed value of aSuggestion. -
Class Summary Class Description BisectSearch<T> Implementation of bisection search algorithm, which can be used to find objects having any quantifiable properties one would evaluate as approaching a certain ideal target value.BisectSearch.Builder<T> Evaluator.ByteCounter Suggestion<T> A suggested value for a bisection search. -
Enum Summary Enum Description Evaluator.Result