T
- the type of Type
corresponding to this factory, implementing IntegerType.public class DiscreteIntHistogramBinFactory<T extends IntegerType<T>> extends Object implements HistogramBinFactory<T>
Modifier and Type | Class and Description |
---|---|
class |
DiscreteIntHistogramBinFactory.DiscreteIntHistogramBin |
Constructor and Description |
---|
DiscreteIntHistogramBinFactory() |
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
Type s are equivalent in the sense that
they would be binned into the same HistogramBin. |
public HistogramBin<T> createBin(T type)
HistogramBinFactory
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.createBin
in interface HistogramBinFactory<T extends IntegerType<T>>
type
- the prototype Type used to create the HistogramBinpublic HistogramKey<T> createKey(T type)
HistogramBinFactory
createKey
in interface HistogramBinFactory<T extends IntegerType<T>>
type
- the Type
to which the generated HistogramKey will
correspond.public boolean equivalent(T type1, T type2)
HistogramBinFactory
Type
s are equivalent in the sense that
they would be binned into the same HistogramBin.equivalent
in interface HistogramBinFactory<T extends IntegerType<T>>
type1
- the first Type for comparisontype2
- the second Type for comparisonCopyright © 2015–2021 Fiji. All rights reserved.