public class ReverseArrayIntIterator extends Object implements gnu.trove.iterator.TIntIterator
| Constructor and Description |
|---|
ReverseArrayIntIterator(int[] array)
Iterate an array in reverse order from the last to first element of the
array.
|
ReverseArrayIntIterator(int[] array,
int from,
int to)
Iterate an array in reverse order starting in position to (exclusive) and
ending in position from (inclusive).
|
public ReverseArrayIntIterator(int[] array)
array - public ReverseArrayIntIterator(int[] array, int from, int to)
array - iterate this arrayfrom - stop iterating at this indexto - start after this indexpublic boolean hasNext()
hasNext in interface gnu.trove.iterator.TIteratorpublic int next()
next in interface gnu.trove.iterator.TIntIteratorpublic void remove() throws UnsupportedOperationException
remove in interface gnu.trove.iterator.TIteratorUnsupportedOperationException - if invokedCopyright © 2013. All Rights Reserved.