public class ArrayOfDoublesSetOperationBuilder extends Object
| Constructor and Description |
|---|
ArrayOfDoublesSetOperationBuilder()
Creates an instance of the builder with default parameters
|
| Modifier and Type | Method and Description |
|---|---|
ArrayOfDoublesAnotB |
buildAnotB()
Creates an instance of ArrayOfDoublesAnotB based on the current configuration of the builder.
|
ArrayOfDoublesIntersection |
buildIntersection()
Creates an instance of ArrayOfDoublesIntersection based on the current configuration of the
builder.
|
ArrayOfDoublesUnion |
buildUnion()
Creates an instance of ArrayOfDoublesUnion based on the current configuration of the builder.
|
ArrayOfDoublesSetOperationBuilder |
setMemory(Memory dstMem)
This is to set destination memory to be used by the sketch
|
ArrayOfDoublesSetOperationBuilder |
setNominalEntries(int nomEntries)
This is to set the nominal number of entries.
|
ArrayOfDoublesSetOperationBuilder |
setNumberOfValues(int numValues)
This is to set the number of double values associated with each key
|
ArrayOfDoublesSetOperationBuilder |
setSeed(long seed)
Sets the long seed value that is required by the hashing function.
|
public ArrayOfDoublesSetOperationBuilder()
public ArrayOfDoublesSetOperationBuilder setNominalEntries(int nomEntries)
nomEntries - Nominal number of entries. Forced to the nearest power of 2 greater than
given value.public ArrayOfDoublesSetOperationBuilder setNumberOfValues(int numValues)
numValues - number of double valuespublic ArrayOfDoublesSetOperationBuilder setSeed(long seed)
seed - See seedpublic ArrayOfDoublesSetOperationBuilder setMemory(Memory dstMem)
dstMem - instance of Memorypublic ArrayOfDoublesUnion buildUnion()
public ArrayOfDoublesIntersection buildIntersection()
public ArrayOfDoublesAnotB buildAnotB()
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.