public interface BinnedData
Modifier and Type | Interface and Description |
---|---|
static interface |
BinnedData.Bin
Represents a single bin.
|
Modifier and Type | Method and Description |
---|---|
Iterator<BinnedData.Bin> |
getBinIterator(boolean includeEmpty)
Returns an iterator over the bins managed by this object.
|
int |
getSetCount()
Returns the number of subsets for which this object maintains bins.
|
boolean |
isInteger()
Indicates whether the count values in the bins are known to be
integers.
|
void |
submitDatum(double value,
double weight,
boolean[] setFlags)
Submits a value for inclusion in this BinnedData object.
|
void submitDatum(double value, double weight, boolean[] setFlags)
value
- value for inclusionweight
- weightingsetFlags
- array of flags, one for each subset;
true for inclusion, false for exclusionIterator<BinnedData.Bin> getBinIterator(boolean includeEmpty)
It is inadvisable to call submitDatum(double, double, boolean[])
during the
lifetime of this iterator.
includeEmpty
- if true, then all bins between the lowest
and highest must be iterated over. If false, then empty
bins may be omittedBinnedData.Bin
instancesint getSetCount()
boolean isInteger()
Bin.getWeightedCount
returns
are integer valuesCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.