public interface ImSet<E> extends BaseSet<E>
Modifier and Type | Method and Description |
---|---|
MutableSet<E> |
mutable()
Returns a mutable version of this immutable set.
|
ImSet<E> |
put(E e)
Adds an element, returning a modified version of the set (leaving the original set unchanged).
|
default ImSet<E> |
union(Iterable<? extends E> iter)
Returns a new set containing all the items.
|
ImSet<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, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
equals, hashCode, size, spliterator
parallelStream, stream
MutableSet<E> mutable()
ImSet<E> put(E e)
default ImSet<E> union(Iterable<? extends E> iter)
Copyright © 2017. All rights reserved.