T
- Element typepublic final class SortedIterator<T extends Comparable<? super T>> extends Object implements Iterator<T>
There is no thread-safety guarantee.
Constructor and Description |
---|
SortedIterator(Comparator<T> cmp,
Iterator<T> src)
Ctor.
|
SortedIterator(Iterator<T> src)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
Copyright © 2017 Cactoos. All rights reserved.