|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinnedData
Stores and dispenses binned data for a histogram.
Nested Class Summary | |
---|---|
static interface |
BinnedData.Bin
Represents a single bin. |
Method Summary | |
---|---|
Iterator |
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. |
Method Detail |
---|
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 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 omitted
BinnedData.Bin
instancesint getSetCount()
boolean isInteger()
Bin.getWeightedCount
returns
are integer values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |