public class IterableSet<T> extends HashChain<T> implements Set<T>
HashChain.Link<X extends E>, HashChain.LinkIterator<X extends E>emptyIterator, firstItem, lastItem, map, stateCount| Constructor and Description |
|---|
IterableSet() |
IterableSet(Collection<T> c) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o)
Adds the given object to this HashChain.
|
UnmodifiableIterableSet<T> |
asUnmodifiable() |
Object |
clone() |
boolean |
equals(Object o) |
int |
hashCode() |
IterableSet<T> |
intersection(IterableSet<T> other) |
boolean |
intersects(IterableSet<T> other) |
boolean |
isStrictSubsetOf(IterableSet<T> other) |
boolean |
isStrictSupersetOf(IterableSet<T> other) |
boolean |
isSubsetOf(IterableSet<T> other) |
boolean |
isSupersetOf(IterableSet<T> other) |
boolean |
remove(Object o)
Removes the given object from this Chain.
|
String |
toString()
Returns a textual representation of the contents of this Chain.
|
IterableSet<T> |
union(IterableSet<T> other) |
addFirst, addLast, clear, contains, containsAll, follows, getElementsUnsorted, getFirst, getLast, getModificationCount, getPredOf, getSuccOf, insertAfter, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertBefore, iterator, iterator, iterator, listToHashChain, removeFirst, removeLast, size, snapshotIterator, snapshotIterator, swapWith, toListaddAll, isEmpty, removeAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, isEmpty, iterator, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic IterableSet(Collection<T> c)
public IterableSet()
public boolean add(T o)
HashChainpublic boolean remove(Object o)
ChainObject to be compatible with the
Collection interface.public boolean equals(Object o)
public int hashCode()
public boolean isSubsetOf(IterableSet<T> other)
public boolean isSupersetOf(IterableSet<T> other)
public boolean isStrictSubsetOf(IterableSet<T> other)
public boolean isStrictSupersetOf(IterableSet<T> other)
public boolean intersects(IterableSet<T> other)
public IterableSet<T> intersection(IterableSet<T> other)
public IterableSet<T> union(IterableSet<T> other)
public String toString()
HashChainpublic UnmodifiableIterableSet<T> asUnmodifiable()
Copyright © 2020 Soot OSS. All rights reserved.