T
- Set typepublic final class Sorted<T> extends SortedSetEnvelope<T>
Constructor and Description |
---|
Sorted(Comparator<? super T> cmp,
Iterable<? extends T> src)
Ctor.
|
Sorted(Comparator<? super T> cmp,
T... array)
Ctor.
|
comparator, first, headSet, last, subSet, tailSet
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
equals, hashCode, iterator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
@SafeVarargs public Sorted(Comparator<? super T> cmp, T... array)
cmp
- Comparatorarray
- An array of some elementspublic Sorted(Comparator<? super T> cmp, Iterable<? extends T> src)
cmp
- Comparatorsrc
- An Iterable
Copyright © 2017–2021 Cactoos. All rights reserved.