Builder
class Builder
A helper class for building a CompositeKey.
Functions
Link copied to clipboard
Adds a child CompositeKey node. Specifying a weight for the child is optional and will default to 1.
Link copied to clipboard
Link copied to clipboard
Builds the CompositeKey. If threshold is not specified, it will default to the total (aggregated) weight of the children, effectively generating an "N of N" requirement. During process removes single keys wrapped in CompositeKey and enforces ordering on child nodes.