java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<S>
org.apache.tinkerpop.gremlin.process.traversal.step.util.BulkSet<S>
All Implemented Interfaces:
Serializable, Iterable<S>, Collection<S>, Set<S>

public final class BulkSet<S> extends AbstractSet<S> implements Set<S>, Serializable
BulkSet is a weighted set (i.e. a multi-set). Objects are added along with a bulk counter the denotes how many times the object was added to the set. Given that count-based compression (vs. enumeration) can yield large sets, methods exist that are long-based (2^64).
Author:
Marko A. Rodriguez (http://markorodriguez.com)
See Also: