The type of the immutable version of this container.
The type of the immutable version of this container.
Intended for the general user to copy a complex container's type into the as
method of a container whose type is not known at compile-time.
Intended for the general user to copy a complex container's type into the as
method of a container whose type is not known at compile-time.
Typical use: filledHistogram.as[initialHistogram.Type]
Reweight the contents in all nested aggregators by a scalar factor, as though they had been filled with a different weight.
Reweight the contents in all nested aggregators by a scalar factor, as though they had been filled with a different weight.
If the container is mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
The original is unaffected.
Add two containers of the same type.
Add two containers of the same type.
If these containers are mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
The originals are unaffected.
Cast the container to a given type.
Cast the container to a given type. Especially useful for containers reconstructed from JSON or stored in org.dianahep.histogrammar.UntypedLabeling/org.dianahep.histogrammar.UntypedLabeled.
Extract the container at a given index, if it exists.
Find the bin index associated with numerical value x
.
Find the bin index associated with numerical value x
.
Long.MIN_VALUE
if x
is NaN
, the bin index if it is between Long.MIN_VALUE + 1
and Long.MAX_VALUE
, otherwise saturate at the endpoints.
Width of the equally sized bins.
Width of the equally sized bins.
Centers and values of each bin.
List of sub-aggregators, to make it possible to walk the tree.
List of sub-aggregators, to make it possible to walk the tree.
Name of the intended content; used as a placeholder in cases with zero bins (due to no observed data).
Copy this container, making a clone with no reference to the original.
Copy this container, making a clone with no reference to the original.
If these containers are mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
Weighted number of entries (sum of all observed weights).
Weighted number of entries (sum of all observed weights).
Reference to the container's factory for runtime reflection.
Reference to the container's factory for runtime reflection.
Get a sequence of filled indexes.
Get a sequence of filled indexes.
The last non-empty bin.
The last non-empty bin.
The first non-empty bin.
The first non-empty bin.
Return true
iff x
is in the nanflow region (equal to NaN
).
Return true
iff x
is in the nanflow region (equal to NaN
).
Container for data that resulted in NaN
.
The number of bins between the first non-empty one (inclusive) and the last non-empty one (exclusive).
The number of bins between the first non-empty one (inclusive) and the last non-empty one (exclusive).
The number of non-empty bins.
The number of non-empty bins.
Left edge of the bin whose index is zero.
Left edge of the bin whose index is zero.
Optional name given to the quantity function, passed for bookkeeping.
Optional name given to the quantity function, passed for bookkeeping.
Get the low and high edge of a bin (given by index number).
Get the low and high edge of a bin (given by index number).
Convert any Container into a NoAggregation Container.
Convert any Container into a NoAggregation Container.
Convert this container to JSON (dropping its fill
method, making it immutable).
Convert this container to JSON (dropping its fill
method, making it immutable).
Note that the org.dianahep.histogrammar.json.Json object has a stringify
method to serialize.
Used internally to convert the container to JSON without its "type"
header.
Used internally to convert the container to JSON without its "type"
header.
Create an empty container with the same parameters as this one.
Create an empty container with the same parameters as this one.
If this container is mutable (with org.dianahep.histogrammar.Aggregation), the new one will be, too.
The original is unaffected.
An accumulated quantity that was split into equally spaced bins, filling only one bin per datum and creating new bins as necessary.
Use the factory org.dianahep.histogrammar.SparselyBin to construct an instance.