
T - Data typepublic abstract class AbstractObjStaticHistogram<T> extends AbstractStaticHistogram implements ObjHistogram<T>
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractObjStaticHistogram.IterIterator class. | 
| Modifier and Type | Field and Description | 
|---|---|
| (package private) Object[] | dataData store | 
base, binsize, max, offset, sizeCACHE_SHIFT| Constructor and Description | 
|---|
| AbstractObjStaticHistogram(int bins,
                          double min,
                          double max)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | get(double coord)Access the value of a bin with new data. | 
| AbstractObjStaticHistogram.Iter | iter()Get an iterator over all histogram bins. | 
| protected abstract T | makeObject()Class to make a new object for the data store. | 
getBinNr, getBinsize, getCoverMaximum, getCoverMinimum, getNumBins, growSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitputDatagetBinsize, getCoverMaximum, getCoverMinimum, getNumBinsObject[] data
public AbstractObjStaticHistogram(int bins,
                          double min,
                          double max)
bins - Number of binsmin - Cover minimummax - Cover maximumpublic T get(double coord)
coord - Coordinateprotected abstract T makeObject()
public AbstractObjStaticHistogram.Iter iter()
AbstractStaticHistogramiter in interface Histogramiter in interface ObjHistogram<T>iter in class AbstractStaticHistogram