| Iterates backwards through a List, starting with the last element
and continuing to the first. This is useful for looping around
a list in reverse order without needing to actually reverse the list.
The first call to next() will return the last element
from the list, and so on. The hasNext() method works
in concert with the next() method as expected.
However, the nextIndex() method returns the correct
index in the list, thus it starts high and reduces as the iteration
continues. The previous methods work similarly.
author: Serge Knystautas author: Stephen Colebourne since: Commons Collections 3.2 version: $Revision: $ $Date: 2006-05-12 23:52:43 +0100 (Fri, 12 May 2006) $ |