public class DynamicSet<E> extends DynamicCollection<E> implements Set<E>
DynamicCollection which prevents duplicates.DynamicCollection,
SetDynamicCollection.DynamicIteratoriterators, iteratorsLock, storage| Constructor and Description |
|---|
DynamicSet() |
DynamicSet(Collection<? extends E> c) |
DynamicSet(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o) |
boolean |
addAll(Collection<? extends E> c) |
add, clear, contains, containsAll, indexOf, isEmpty, iterator, remove, remove, size, toArray, toArray, toStringremoveAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic DynamicSet()
public DynamicSet(Collection<? extends E> c)
public DynamicSet(int size)
public boolean add(E o)
add in interface Collection<E>add in interface Set<E>add in class DynamicCollection<E>public boolean addAll(Collection<? extends E> c)
addAll in interface Collection<E>addAll in interface Set<E>addAll in class DynamicCollection<E>Copyright © 2006–2017. All rights reserved.