Class ArraySet<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Iterable<T>, Collection<T>, Set<T>

    public class ArraySet<T>
    extends AbstractSet<T>
    A set implementation backed by an array. This implementation is space-efficient for small sets, but several operations like contains(Object) are linear time.