E
- the element typepublic interface ImmutableNavigableSet<E> extends ImmutableSet<E>, NavigableSet<E>
Modifier and Type | Method and Description |
---|---|
ImmutableNavigableSet<E> |
added(E e) |
static <E extends Comparable<? super E>> |
empty() |
ImmutableNavigableSet<E> |
removed(E e) |
static <E extends Comparable<? super E>> |
singleton(E e) |
ceiling, descendingIterator, descendingSet, floor, headSet, headSet, higher, iterator, lower, pollFirst, pollLast, subSet, subSet, tailSet, tailSet
comparator, first, last, spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
static <E extends Comparable<? super E>> ImmutableNavigableSet<E> empty()
empty
in interface ImmutableSet<E>
E
- the element typestatic <E extends Comparable<? super E>> ImmutableNavigableSet<E> singleton(E e)
singleton
in interface ImmutableSet<E>
E
- the element typee
- the elementImmutableNavigableSet<E> added(E e)
added
in interface ImmutableSet<E>
e
- the elementImmutableNavigableSet<E> removed(E e)
removed
in interface ImmutableSet<E>
e
- the element