
public final class LongArrayStaticHistogram extends AbstractObjStaticHistogram<long[]>
long[]). This is
 actually one of the simpler specializations, as arrays are objects not
 primitive in Java.AbstractObjStaticHistogram.Iter| Modifier and Type | Field and Description | 
|---|---|
private int | 
cols
Desired number of columns in each bin. 
 | 
database, binsize, max, offset, sizeCACHE_SHIFT| Constructor and Description | 
|---|
LongArrayStaticHistogram(int bins,
                        double min,
                        double max,
                        int cols)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
increment(double coord,
         long[] data)
Increment histogram by a double[]. 
 | 
protected long[] | 
makeObject()
Class to make a new object for the data store. 
 | 
void | 
putData(double coord,
       long[] data)
Deprecated. 
 
use the explicit  
increment(double, long[]) instead. | 
get, itergetBinNr, getBinsize, getCoverMaximum, getCoverMinimum, getNumBins, growSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBinsize, getCoverMaximum, getCoverMinimum, getNumBinspublic LongArrayStaticHistogram(int bins,
                        double min,
                        double max,
                        int cols)
bins - Number of binsmin - Minimum value for the coordinatesmax - Maximum value for the coordinatescols - Number of columns in each bin.public void increment(double coord,
             long[] data)
coord - Coordinatedata - Data to increment by.@Deprecated public void putData(double coord, long[] data)
increment(double, long[]) instead.coord - Coordinatedata - Dataprotected long[] makeObject()
AbstractObjStaticHistogrammakeObject in class AbstractObjStaticHistogram<long[]>