# Uses of Class
org.apache.datasketches.theta.SetOperation

Packages that use SetOperation
Package
Description
org.apache.datasketches.theta
The theta package contains the basic sketch classes that are members of the Theta Sketch Framework.

## Uses of SetOperation in org.apache.datasketches.theta

Subclasses of SetOperation in org.apache.datasketches.theta
Modifier and Type
Class
Description
`class`
`AnotB`
Computes a set difference, A-AND-NOT-B, of two theta sketches.
`class`
`Intersection`
The API for intersection operations
`class`
`Union`
Compute the union of two or more theta sketches.
Methods in org.apache.datasketches.theta that return SetOperation
Modifier and Type
Method
Description
`SetOperation`
SetOperationBuilder.`build(Family family)`
Returns a SetOperation with the current configuration of this Builder and the given Family.
`SetOperation`
SetOperationBuilder.`build(Family family, org.apache.datasketches.memory.WritableMemory dstMem)`
Returns a SetOperation with the current configuration of this Builder, the given Family and the given destination memory.
`static SetOperation`
SetOperation.`heapify(org.apache.datasketches.memory.Memory srcMem)`
Heapify takes the SetOperations image in Memory and instantiates an on-heap SetOperation using the Default Update Seed.
`static SetOperation`
SetOperation.`heapify(org.apache.datasketches.memory.Memory srcMem, long expectedSeed)`
Heapify takes the SetOperation image in Memory and instantiates an on-heap SetOperation using the given expectedSeed.
`static SetOperation`
Sketches.`heapifySetOperation(org.apache.datasketches.memory.Memory srcMem)`
Ref: `SetOperation.heapify(Memory)`
`static SetOperation`
Sketches.`heapifySetOperation(org.apache.datasketches.memory.Memory srcMem, long expectedSeed)`
Ref: `SetOperation.heapify(Memory, long)`
`static SetOperation`
SetOperation.`wrap(org.apache.datasketches.memory.Memory srcMem)`
Wrap takes the SetOperation image in Memory and refers to it directly.
`static SetOperation`
SetOperation.`wrap(org.apache.datasketches.memory.Memory srcMem, long expectedSeed)`
Wrap takes the SetOperation image in Memory and refers to it directly.
`static SetOperation`
SetOperation.`wrap(org.apache.datasketches.memory.WritableMemory srcMem)`
Wrap takes the SetOperation image in Memory and refers to it directly.
`static SetOperation`
SetOperation.`wrap(org.apache.datasketches.memory.WritableMemory srcMem, long expectedSeed)`
Wrap takes the SetOperation image in Memory and refers to it directly.
`static SetOperation`
Sketches.`wrapSetOperation(org.apache.datasketches.memory.Memory srcMem)`
Ref: `SetOperation.wrap(Memory)`
`static SetOperation`
Sketches.`wrapSetOperation(org.apache.datasketches.memory.Memory srcMem, long expectedSeed)`
Ref: `SetOperation.wrap(Memory, long)`
`static SetOperation`
Sketches.`wrapSetOperation(org.apache.datasketches.memory.WritableMemory srcMem)`
Ref: `SetOperation.wrap(Memory)`
`static SetOperation`
Sketches.`wrapSetOperation(org.apache.datasketches.memory.WritableMemory srcMem, long expectedSeed)`
Ref: `SetOperation.wrap(Memory, long)`