
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() |
removeiteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic boolean hasNext()
public T next()
Copyright © 2017. All rights reserved.