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, 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, streamImUnsortedSet<E> immutable()
MutableUnsortedSet<E> mutable()
ImUnsortedSet<E> put(E val)
default ImUnsortedSet<E> union(Iterable<? extends E> iter)
Copyright © 2017. All rights reserved.