java.lang.Object
swim.collections.HashTrieSet<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,Set<T>,Debug
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends T> elems) added(Collection<? extends T> elems) voidclear()booleanbooleancontainsAll(Collection<?> elems) <U> Output<U>Writes a developer readable, debug-formatted string representation of this object tooutput.static <T> HashTrieSet<T>empty()booleanstatic <T> HashTrieSet<T>inthashCode()head()booleanisEmpty()iterator()merged(HashTrieSet<T> elems) static <T> HashTrieSet<T>of(T... elems) booleanbooleanremoveAll(Collection<?> elems) booleanretainAll(Collection<?> elems) intsize()Object[]toArray()<U> U[]toArray(U[] array) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
spliterator
-
Method Details
-
isEmpty
public boolean isEmpty() -
size
public int size() -
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceSet<T>
-
head
-
next
-
add
-
addAll
-
remove
-
removeAll
-
retainAll
-
clear
public void clear() -
added
-
added
-
merged
-
removed
-
toArray
-
toArray
public <U> U[] toArray(U[] array) -
iterator
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
empty
-
of
-
from
-