E - public class ReverseListIterator<E> extends Object implements Iterator<E>
| Modifier and Type | Field and Description |
|---|---|
protected int |
current
The current index of the list
|
protected List<E> |
list
The list to get elements from
|
| Constructor and Description |
|---|
ReverseListIterator(List<E> list)
Construct a ReverseListIterator for the given list.
|
public boolean hasNext()
public E next()
next in interface Iterator<E>NoSuchElementExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.