public class UnmodifiableIterableSet<E> extends IterableSet<E>
HashChain.Link<X extends E>, HashChain.LinkIterator<X extends E>emptyIterator, firstItem, lastItem, map, stateCount| Constructor and Description |
|---|
UnmodifiableIterableSet() |
UnmodifiableIterableSet(IterableSet<E> original)
Creates a new unmodifiable iterable set as a copy of an existing one
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E o)
Adds the given object to this HashChain.
|
boolean |
forceRemove(java.lang.Object o) |
boolean |
remove(java.lang.Object o)
Removes the given object from this Chain.
|
asUnmodifiable, clone, equals, hashCode, intersection, intersects, isStrictSubsetOf, isStrictSupersetOf, isSubsetOf, isSupersetOf, toString, unionaddFirst, addLast, clear, contains, containsAll, follows, getElementsUnsorted, getFirst, getLast, getModificationCount, getPredOf, getSuccOf, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, insertOnEdge, insertOnEdge, insertOnEdge, insertOnEdge, iterator, iterator, iterator, listToHashChain, removeFirst, removeLast, size, snapshotIterator, snapshotIterator, swapWith, toListaddAll, isEmpty, removeAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitpublic UnmodifiableIterableSet()
public UnmodifiableIterableSet(IterableSet<E> original)
original - The original set to copypublic boolean add(E o)
HashChainadd in interface java.util.Collection<E>add in interface java.util.Set<E>add in class IterableSet<E>public boolean remove(java.lang.Object o)
ChainObject to be compatible
with the Collection interface.public boolean forceRemove(java.lang.Object o)