public interface MutableUnsortedSet<E> extends ImUnsortedSet<E>
UnmodSet.AbstractUnmodSet<T>UnmodIterable.AbstractUnmodIterable<T>| Modifier and Type | Method and Description |
|---|---|
default MutableUnsortedSet<E> |
mutable()
Returns a mutable version of this immutable set.
|
MutableUnsortedSet<E> |
put(E val)
Adds an element, returning a modified version of the set (leaving the original set unchanged).
|
default MutableUnsortedSet<E> |
union(Iterable<? extends E> iter) |
MutableUnsortedSet<E> |
without(E key)
Removes the given item, returning a modified version of the set (leaving the original set
unchanged).
|
immutableadd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, toArray, toArrayconcat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toStringtoImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSetequals, hashCode, size, spliteratorparallelStream, streamdefault MutableUnsortedSet<E> mutable()
mutable in interface ImUnsortedSet<E>MutableUnsortedSet<E> put(E val)
default MutableUnsortedSet<E> union(Iterable<? extends E> iter)
MutableUnsortedSet<E> without(E key)
Copyright © 2017. All rights reserved.