# Uses of Class
org.apache.datasketches.quantiles.DoublesUnion

Packages that use DoublesUnion
Package
Description
org.apache.datasketches.quantiles
The quantiles package contains stochastic streaming algorithms that enable single-pass analysis of the distribution of a stream of quantiles.

## Uses of DoublesUnion in org.apache.datasketches.quantiles

Methods in org.apache.datasketches.quantiles that return DoublesUnion
Modifier and Type
Method
Description
`DoublesUnion`
DoublesUnionBuilder.`build()`
Returns a new empty Union object with the current configuration of this Builder.
`DoublesUnion`
DoublesUnionBuilder.`build(org.apache.datasketches.memory.WritableMemory dstMem)`
Returns a new empty Union object with the current configuration of this Builder and the specified backing destination Memory store.
`static DoublesUnion`
DoublesUnion.`heapify(org.apache.datasketches.memory.Memory srcMem)`
Returns a Heap Union object that has been initialized with the data from the given memory image of a sketch.
`static DoublesUnion`
DoublesUnion.`heapify(DoublesSketch sketch)`
Returns a Heap Union object that has been initialized with the data from the given sketch.
`static DoublesUnion`
DoublesUnion.`wrap(org.apache.datasketches.memory.Memory mem)`
Returns a read-only Union object that wraps off-heap data of the given memory image of a sketch.
`static DoublesUnion`
DoublesUnion.`wrap(org.apache.datasketches.memory.WritableMemory mem)`
Returns an updatable Union object that wraps off-heap data of the given memory image of a sketch.