public class ArrayOfDoublesAnotBImpl extends ArrayOfDoublesAnotB
This class includes a stateless operation as follows:
CompactSketch csk = anotb.aNotB(ArrayOfDoublesSketch skA, ArrayOfDoublesSketch skB);
Modifier and Type | Method and Description |
---|---|
ArrayOfDoublesCompactSketch |
getResult()
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
|
ArrayOfDoublesCompactSketch |
getResult(org.apache.datasketches.memory.WritableMemory dstMem)
Gets the result of this operation in the form of a ArrayOfDoublesCompactSketch
|
void |
update(ArrayOfDoublesSketch skA,
ArrayOfDoublesSketch skB)
Perform A-and-not-B set operation on the two given sketches.
|
public void update(ArrayOfDoublesSketch skA, ArrayOfDoublesSketch skB)
ArrayOfDoublesAnotB
update
in class ArrayOfDoublesAnotB
skA
- The incoming sketch for the first argumentskB
- The incoming sketch for the second argumentpublic ArrayOfDoublesCompactSketch getResult()
ArrayOfDoublesAnotB
getResult
in class ArrayOfDoublesAnotB
public ArrayOfDoublesCompactSketch getResult(org.apache.datasketches.memory.WritableMemory dstMem)
ArrayOfDoublesAnotB
getResult
in class ArrayOfDoublesAnotB
dstMem
- memory for the result (can be null)Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.