public class RealHistogramBinFactory<T extends RealType<T>> extends Object implements HistogramBinFactory<T>
| Modifier and Type | Class and Description |
|---|---|
class |
RealHistogramBinFactory.RealHistogramBin |
| Constructor and Description |
|---|
RealHistogramBinFactory(double w,
double d) |
| Modifier and Type | Method and Description |
|---|---|
HistogramBin<T> |
createBin(T type)
Create a
HistogramBin corresponding to the give Type,
in the sense that for the purposes of the Histogram class,
the given Type would be binned into the returned HistogramBin. |
HistogramKey<T> |
createKey(T type)
|
boolean |
equivalent(T type1,
T type2)
Determines whether two
Types are equivalent in the sense that
they would be binned into the same HistogramBin. |
public HistogramBin<T> createBin(T type)
HistogramBinFactoryHistogramBin corresponding to the give Type,
in the sense that for the purposes of the Histogram class,
the given Type would be binned into the returned HistogramBin.createBin in interface HistogramBinFactory<T extends RealType<T>>type - the prototype Type used to create the HistogramBinpublic HistogramKey<T> createKey(T type)
HistogramBinFactorypublic boolean equivalent(T type1, T type2)
HistogramBinFactoryTypes are equivalent in the sense that
they would be binned into the same HistogramBin.equivalent in interface HistogramBinFactory<T extends RealType<T>>type1 - the first Type for comparisontype2 - the second Type for comparisonCopyright © 2015–2021 Fiji. All rights reserved.