T
- Element typepublic abstract class SortedSetEnvelope<T> extends SetEnvelope<T> implements SortedSet<T>
There is no thread-safety guarantee.
Modifier | Constructor and Description |
---|---|
protected |
SortedSetEnvelope(SortedSet<T> origin)
Primary ctor.
|
Modifier and Type | Method and Description |
---|---|
Comparator<? super T> |
comparator() |
T |
first() |
SortedSet<T> |
headSet(T end) |
T |
last() |
SortedSet<T> |
subSet(T begin,
T end) |
SortedSet<T> |
tailSet(T from) |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
equals, hashCode, iterator, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
public final Comparator<? super T> comparator()
comparator
in interface SortedSet<T>
Copyright © 2017–2020 Cactoos. All rights reserved.