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>
NoSuchElementException
Copyright © 2013 JBoss by Red Hat. All rights reserved.