public interface ImSortedSet<E> extends BaseSet<E>, UnmodSortedSet<E>
| Modifier and Type | Method and Description |
|---|---|
default ImSortedSet<E> |
headSet(E toElement) |
UnmodSortedIterator<E> |
iterator()
Iterates over contents in a guaranteed order.
|
ImSortedSet<E> |
put(E e)
Adds an element.
|
ImSortedSet<E> |
subSet(E fromElement,
E toElement)
Return the elements in this set from the start element (inclusive) to the end element
(exclusive)
|
ImSortedSet<E> |
tailSet(E fromElement) |
default ImSortedSet<E> |
union(Iterable<? extends E> iter)
Returns a new set containing all the items.
|
ImSortedSet<E> |
without(E key)
Removes this key from the set
|
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, removeIf, retainAll, toArray, toArraycomparator, first, last, spliteratorparallelStream, streamcastFromList, castFromSortedMap, castFromSortedSet, equalconcat, drop, dropWhile, filter, flatMap, fold, foldUntil, hash, head, map, precat, take, takeWhile, toStringtoImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSetImSortedSet<E> put(E e)
ImSortedSet<E> without(E key)
default ImSortedSet<E> headSet(E toElement)
UnmodSortedIterator<E> iterator()
iterator in interface Collection<E>iterator in interface Iterable<E>iterator in interface Set<E>iterator in interface UnmodCollection<E>iterator in interface UnmodIterable<E>iterator in interface UnmodSet<E>iterator in interface UnmodSortedCollection<E>iterator in interface UnmodSortedIterable<E>iterator in interface UnmodSortedSet<E>ImSortedSet<E> subSet(E fromElement, E toElement)
ImSortedSet<E> tailSet(E fromElement)
Copyright © 2019. All rights reserved.