Package ghidra.util
Class ReversedListIterator<E>
- java.lang.Object
- 
- ghidra.util.ReversedListIterator<E>
 
- 
- Type Parameters:
- E- the type of each element
 - All Implemented Interfaces:
- java.util.Iterator<E>,- java.util.ListIterator<E>
 
 public class ReversedListIterator<E> extends java.lang.Object implements java.util.ListIterator<E>Wraps aListIteratorso that the operations are reversed.
- 
- 
Constructor SummaryConstructors Constructor Description ReversedListIterator(java.util.ListIterator<E> it)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E e)booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidremove()voidset(E e)
 
- 
- 
- 
Constructor Detail- 
ReversedListIteratorpublic ReversedListIterator(java.util.ListIterator<E> it) 
 
- 
 - 
Method Detail- 
hasNextpublic boolean hasNext() 
 - 
nextpublic E next() 
 - 
hasPreviouspublic boolean hasPrevious() - Specified by:
- hasPreviousin interface- java.util.ListIterator<E>
 
 - 
nextIndexpublic int nextIndex() - Specified by:
- nextIndexin interface- java.util.ListIterator<E>
 
 - 
previousIndexpublic int previousIndex() - Specified by:
- previousIndexin interface- java.util.ListIterator<E>
 
 - 
removepublic void remove() 
 
- 
 
-