public abstract class DescendingIterator<D,T> extends ReadOnlyIterator<T>
Modifier and Type | Field and Description |
---|---|
protected Iterator<D> |
d |
protected Iterator<T> |
t |
Constructor and Description |
---|
DescendingIterator(Iterator<D> iterator) |
Modifier and Type | Method and Description |
---|---|
abstract Iterator<T> |
descend(D item) |
boolean |
hasNext() |
T |
next() |
remove
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public boolean hasNext()
public T next()
Copyright © 2017. All rights reserved.