Class MutableSparseLongSet

  • All Implemented Interfaces:
    LongSet, MutableLongSet

    public final class MutableSparseLongSet
    extends SparseLongSet
    implements MutableLongSet
    A sparse ordered, mutable duplicate-free, fully-encapsulated set of longs. Instances are not canonical, except for EMPTY. This implementation will be inefficient if these sets get large. TODO: even for small sets, we probably want to work on this to reduce the allocation activity.