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

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

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

Subclasses of ThetaSetOperation in org.apache.datasketches.theta
Modifier and Type
Class
Description
`class`
`ThetaAnotB`
Computes a set difference, A-AND-NOT-B, of two ThetaSketches.
`class`
`ThetaIntersection`
The API for intersection operations
`class`
`ThetaUnion`
Compute the union of two or more theta sketches.
Methods in org.apache.datasketches.theta that return ThetaSetOperation
Modifier and Type
Method
Description
`ThetaSetOperation`
ThetaSetOperationBuilder.`build(Family family)`
Returns a ThetaSetOperation with the current configuration of this Builder and the given Family.
`ThetaSetOperation`
ThetaSetOperationBuilder.`build(Family family, MemorySegment dstSeg)`
Returns a ThetaSetOperation with the current configuration of this Builder, the given Family and the given destination MemorySegment.
`static ThetaSetOperation`
ThetaSetOperation.`heapify(MemorySegment srcSeg)`
Heapify takes the ThetaSetOperation image in MemorySegment and instantiates an on-heap ThetaSetOperation using the Default Update Seed.
`static ThetaSetOperation`
ThetaSetOperation.`heapify(MemorySegment srcSeg, long expectedSeed)`
Heapify takes the ThetaSetOperation image in MemorySegment and instantiates an on-heap ThetaSetOperation using the given expectedSeed.
`static ThetaSetOperation`
ThetaSetOperation.`wrap(MemorySegment srcSeg)`
Wrap takes the ThetaSetOperation image in MemorySegment and refers to it directly.
`static ThetaSetOperation`
ThetaSetOperation.`wrap(MemorySegment srcSeg, long expectedSeed)`
Wrap takes the ThetaSetOperation image in MemorySegment and refers to it directly.