public interface MutableUnsortedSet<E> extends BaseSet<E>
UnmodSet.AbstractUnmodSet<T>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
ImSet<E> |
immutable()
Returns an immutable version of this immutable set.
|
MutableUnsortedSet<E> |
put(E val)
Adds an element.
|
default MutableUnsortedSet<E> |
union(Iterable<? extends E> iter)
Returns a new set containing all the items.
|
MutableUnsortedSet<E> |
without(E key)
Removes this key from the set
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, toArray, toArray
concat, drop, filter, flatMap, fold, foldUntil, hash, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
equals, hashCode, size, spliterator
parallelStream, stream
MutableUnsortedSet<E> put(E val)
default MutableUnsortedSet<E> union(Iterable<? extends E> iter)
Copyright © 2017. All rights reserved.