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.
Attempt to get key indexes
, throwing an exception if it does not exist.
Attempt to get key indexes
, throwing an exception if it does not exist.
Attempt to get key index
, throwing an exception if it does not exist.
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.
List of sub-aggregators, to make it possible to walk the tree.
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).
Reference to the container's factory for runtime reflection.
Attempt to get index i
, returning None
if it does not exist.
Attempt to get index i
, returning an alternative if it does not exist.
Number of values
.
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.
Ordered list of containers that can be retrieved by index number.
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 collection of containers of the SAME type, indexed by number.
Use the factory org.dianahep.histogrammar.Index to construct an instance.