public class ArrayUnenforcedSet<E> extends ArrayList<E> implements Set<E>
Note that for equals/hashCode, the class implements the Set behavior (unordered), not the list behavior (ordered); the fact that it subclasses ArrayList should be considered an implementation detail.
modCount
Constructor and Description |
---|
ArrayUnenforcedSet() |
ArrayUnenforcedSet(Collection<? extends E> c) |
ArrayUnenforcedSet(int n) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
containsAll
public ArrayUnenforcedSet()
public ArrayUnenforcedSet(Collection<? extends E> c)
public ArrayUnenforcedSet(int n)
public boolean equals(Object o)
Copyright © 2016. All rights reserved.