java.lang.Object
swim.collections.HashTrieSet<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,Set<T>
,Debug
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends T> elems) added
(Collection<? extends T> elems) void
clear()
boolean
boolean
containsAll
(Collection<?> elems) <U> Output<U>
Writes a developer readable, debug-formatted string representation of this object tooutput
.static <T> HashTrieSet<T>
empty()
boolean
static <T> HashTrieSet<T>
int
hashCode()
head()
boolean
isEmpty()
iterator()
merged
(HashTrieSet<T> elems) static <T> HashTrieSet<T>
of
(T... elems) boolean
boolean
removeAll
(Collection<?> elems) boolean
retainAll
(Collection<?> elems) int
size()
Object[]
toArray()
<U> U[]
toArray
(U[] array) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
spliterator
-
Method Details
-
isEmpty
public boolean isEmpty() -
size
public int size() -
contains
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in 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:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
empty
-
of
-
from
-