Uses of Enum Class
org.apache.datasketches.quantilescommon.InequalitySearch
Packages that use InequalitySearch
Package
Description
This package contains common tools and methods for the quantiles, kll and
req packages.
-
Uses of InequalitySearch in org.apache.datasketches.quantilescommon
Subclasses with type arguments of type InequalitySearch in org.apache.datasketches.quantilescommonModifier and TypeClassDescriptionenumThis provides efficient, unique and unambiguous binary searching for inequality comparison criteria for ordered arrays of values that may include duplicate values.Methods in org.apache.datasketches.quantilescommon that return InequalitySearchModifier and TypeMethodDescriptionstatic InequalitySearchReturns the enum constant of this class with the specified name.static InequalitySearch[]InequalitySearch.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.datasketches.quantilescommon with parameters of type InequalitySearchModifier and TypeMethodDescriptionstatic intInequalitySearch.find(double[] arr, int low, int high, double v, InequalitySearch crit) Binary Search for the index of the double value in the given search range that satisfies the given InequalitySearch criterion.static intInequalitySearch.find(float[] arr, int low, int high, float v, InequalitySearch crit) Binary Search for the index of the float value in the given search range that satisfies the given InequalitySearch criterion.static intInequalitySearch.find(long[] arr, int low, int high, double v, InequalitySearch crit) Binary Search for the index of the double value in the given search range that satisfies the given InequalitySearch criterion.static intInequalitySearch.find(long[] arr, int low, int high, long v, InequalitySearch crit) Binary Search for the index of the long value in the given search range that satisfies the given InequalitySearch criterion.