
public class LongStaticHistogram extends AbstractStaticHistogram implements LongHistogram
| Modifier and Type | Class and Description | 
|---|---|
| class  | LongStaticHistogram.IterIterator class. | 
| Modifier and Type | Field and Description | 
|---|---|
| (package private) long[] | dataData store | 
base, binsize, max, offset, sizeCACHE_SHIFT| Constructor and Description | 
|---|
| LongStaticHistogram(int bins,
                   double min,
                   double max)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| long | get(double coord)Get the value at a particular position. | 
| void | increment(double coord,
         long val)Increment the value of a bin. | 
| LongStaticHistogram.Iter | iter()Get an iterator over all histogram bins. | 
getBinNr, getBinsize, getCoverMaximum, getCoverMinimum, getNumBins, growSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBinsize, getCoverMaximum, getCoverMinimum, getNumBinspublic LongStaticHistogram(int bins,
                   double min,
                   double max)
bins - Number of binsmin - Cover minimummax - Cover maximumpublic void increment(double coord,
             long val)
increment in interface LongHistogramcoord - Coordinateval - Valuepublic long get(double coord)
coord - Coordinatepublic LongStaticHistogram.Iter iter()
AbstractStaticHistogramiter in interface Histogramiter in interface LongHistogramiter in class AbstractStaticHistogram