Class MutableSparseIntSet

  • All Implemented Interfaces:
    IntSet, MutableIntSet, Serializable
    Direct Known Subclasses:
    TunedMutableSparseIntSet

    public class MutableSparseIntSet
    extends SparseIntSet
    implements MutableIntSet
    A sparse ordered, mutable duplicate-free, fully-encapsulated set of integers. 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.

    See Also:
    Serialized Form