T
- the type of Type
corresponding to this HistogramBin.public abstract class HistogramBin<T extends Type<T>> extends Object
Constructor and Description |
---|
HistogramBin(T t,
HistogramKey<T> k)
Create a HistogramBin centered at t, and keyed by
HistogramKey k.
|
Modifier and Type | Method and Description |
---|---|
T |
getCenter() |
long |
getCount() |
HistogramKey<T> |
getKey()
Gets a HistogramKey that may be used to key this HistogramBin into a
hash table.
|
abstract T |
getLowerBound()
Returns the lower bound of this bin.
|
double |
getNorm()
Returns the norm of this bin.
|
abstract T |
getUpperBound()
Returns the upper bound of this bin.
|
void |
inc()
Increment the count.
|
public HistogramBin(T t, HistogramKey<T> k)
t
- the new HistogramBin's center.k
- a HistogramKey that may be used to key this HistogramBin.public void inc()
public long getCount()
public HistogramKey<T> getKey()
public double getNorm()
public T getCenter()
public abstract T getLowerBound()
public abstract T getUpperBound()
Copyright © 2015–2021 Fiji. All rights reserved.