# Uses of Enum Class
org.apache.datasketches.tuple.adouble.DoubleSummary.Mode

Packages that use DoubleSummary.Mode
Package
Description
org.apache.datasketches.tuple.adouble
This package is for a generic implementation of the Tuple sketch for single Double value.

## Uses of DoubleSummary.Mode in org.apache.datasketches.tuple.adouble

Subclasses with type arguments of type DoubleSummary.Mode in org.apache.datasketches.tuple.adouble
Modifier and Type
Class
Description
`static enum`
`DoubleSummary.Mode`
The aggregation modes for this Summary
Methods in org.apache.datasketches.tuple.adouble that return DoubleSummary.Mode
Modifier and Type
Method
Description
`static DoubleSummary.Mode`
DoubleSummary.Mode.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static DoubleSummary.Mode[]`
DoubleSummary.Mode.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Constructors in org.apache.datasketches.tuple.adouble with parameters of type DoubleSummary.Mode
Modifier
Constructor
Description
``
`DoubleSummary(DoubleSummary.Mode mode)`
Creates an instance of DoubleSummary with a given mode.
``
`DoubleSummaryFactory(DoubleSummary.Mode summaryMode)`
Creates an instance of DoubleSummaryFactory with a given mode
``
`DoubleSummarySetOperations(DoubleSummary.Mode summaryMode)`
Creates an instance given a DoubleSummary update mode where the mode is the same for both union and intersection.
``
`DoubleSummarySetOperations(DoubleSummary.Mode unionSummaryMode, DoubleSummary.Mode intersectionSummaryMode)`
Creates an instance with two modes.
``
`DoubleTupleSketch(int lgK, int lgResizeFactor, float samplingProbability, DoubleSummary.Mode mode)`
Creates this sketch with the following parameters:
``
`DoubleTupleSketch(int lgK, DoubleSummary.Mode mode)`
Constructs this sketch with given lgK.
``
`DoubleTupleSketch(MemorySegment seg, DoubleSummary.Mode mode)`
Deprecated.
As of 3.0.0, heapifying an UpdatableTupleSketch is deprecated.