T
- Element typepublic final class SortedIterable<T extends Comparable<? super T>> extends Object implements Iterable<T>
There is no thread-safety guarantee.
Constructor and Description |
---|
SortedIterable(Comparator<T> cmp,
Iterable<T> src)
Ctor.
|
SortedIterable(Comparator<T> cmp,
T... src)
Ctor.
|
SortedIterable(Iterable<T> src)
Ctor.
|
SortedIterable(T... src)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@SafeVarargs public SortedIterable(T... src)
src
- The underlying iterablepublic SortedIterable(Iterable<T> src)
src
- The underlying iterable@SafeVarargs public SortedIterable(Comparator<T> cmp, T... src)
src
- The underlying iterablecmp
- The comparatorpublic SortedIterable(Comparator<T> cmp, Iterable<T> src)
src
- The underlying iterablecmp
- The comparatorCopyright © 2017 Cactoos. All rights reserved.