public interface MutableSet<E> extends BaseSet<E>
Modifier and Type | Method and Description |
---|---|
ImSet<E> |
immutable()
Returns an immutable version of this immutable set.
|
MutableSet<E> |
put(E val)
Adds an element.
|
default MutableSet<E> |
union(Iterable<? extends E> iter)
Returns a new set containing all the items.
|
MutableSet<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, dropWhile, filter, flatMap, fold, foldUntil, hash, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSet
equals, hashCode, size, spliterator
parallelStream, stream
MutableSet<E> put(E val)
default MutableSet<E> union(Iterable<? extends E> iter)
Copyright © 2018. All rights reserved.