
public final class IntArrayStaticHistogram extends AbstractObjStaticHistogram<int[]>
int[]). 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.
|
data, specialbase, binsize, max, offset, sizeCACHE_SHIFT| Constructor and Description |
|---|
IntArrayStaticHistogram(int bins,
double min,
double max,
int cols)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
increment(double coord,
int[] data)
Increment histogram by a double[].
|
protected int[] |
makeObject()
Class to make a new object for the data store.
|
void |
putData(double coord,
int[] data)
Deprecated.
use the explicit
increment(double, int[]) instead. |
get, getSpecial, itergetBinNr, getBinsize, getCoverMaximum, getCoverMinimum, getNumBins, growSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBinsize, getCoverMaximum, getCoverMinimum, getNumBinspublic IntArrayStaticHistogram(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,
int[] data)
coord - Coordinatedata - Data to increment by.@Deprecated public void putData(double coord, int[] data)
increment(double, int[]) instead.coord - Coordinatedata - Dataprotected int[] makeObject()
AbstractObjStaticHistogrammakeObject in class AbstractObjStaticHistogram<int[]>