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, toArrayconcat, drop, dropWhile, filter, flatMap, fold, foldUntil, hash, head, map, precat, take, takeWhile, toStringtoImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSetequals, hashCode, size, spliteratorparallelStream, streamMutableSet<E> mutable()
ImSet<E> put(E e)
default ImSet<E> union(Iterable<? extends E> iter)
Copyright © 2019. All rights reserved.