- All Known Implementing Classes:
- Enclosing class:
public static interface Histogram.BinScheme
An algorithm for determining the bin in which a value is to be placed as well as calculating the upper end of each bin.
binsint bins()Get the number of bins.
- the number of bins
(double value)Determine the 0-based bin number in which the supplied value should be placed.
value- the value
- the 0-based index of the bin
(int bin)Determine the value at the upper range of the specified bin.
bin- the 0-based bin number
- the value at the upper end of the bin; or
negative infinityif the bin number is negative or
positive infinityif the 0-based bin number is greater than or equal to the
number of bins.