public interface BaseSet<E> extends UnmodSet<E>
UnmodSet
.
Lowest common ancestor of MutableSet
, ImSet
, and ImSortedSet
.Modifier and Type | Method and Description |
---|---|
BaseSet<E> |
put(E e)
Adds an element.
|
BaseSet<E> |
union(Iterable<? extends E> iter)
Returns a new set containing all the items.
|
BaseSet<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, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSet
equals, hashCode, size, spliterator
parallelStream, stream
BaseSet<E> put(E e)
e
- the element to add to this setCopyright © 2018. All rights reserved.