Class SparseVector<T>

  • All Implemented Interfaces:
    IVector<T>, Serializable, Iterable<T>

    public class SparseVector<T>
    extends Object
    implements IVector<T>, Serializable
    An IVector implementation designed for low occupancy. Note that get() from this vector is a binary search.

    This should only be used for small sets ... insertion and deletion are linear in size of set.

    See Also:
    Serialized Form