public interface ImUnsortedSet<E> extends ImSet<E>
UnmodSet.AbstractUnmodSet<T>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
ImUnsortedSet<E> |
immutable()
Returns a immutable version of this (maybe mutable) set.
|
MutableUnsortedSet<E> |
mutable()
Returns a mutable (builder) version of this set that is not thread safe.
|
ImUnsortedSet<E> |
put(E val)
Adds an element, returning a modified version of the set (leaving the original set unchanged).
|
default ImUnsortedSet<E> |
union(Iterable<? extends E> iter) |
ImUnsortedSet<E> |
without(E key)
Removes the given item, returning a modified version of the set (leaving the original set
unchanged).
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, toArray, toArray
concat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toString
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
equals, hashCode, size, spliterator
parallelStream, stream
ImUnsortedSet<E> immutable()
MutableUnsortedSet<E> mutable()
ImUnsortedSet<E> put(E val)
default ImUnsortedSet<E> union(Iterable<? extends E> iter)
Copyright © 2016. All rights reserved.