Class ArraySet<E>

All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>, SetEx<E>, Copyable<SetEx<E>>

public class ArraySet<E> extends AbstractSetEx<E> implements Serializable
Set implementation based on ArrayList. This class should only be used for small set. Elements cannot be null. Note that remove(Object) will shift the rest elements to the end. TODO: if necessary, optimize remove(Object) and let add(Object) add element to empty hole of the array.
See Also: