Package org.jruby.ir.listeners
Class InstructionsListenerDecorator.InstructionsListIterator
java.lang.Object
org.jruby.ir.listeners.InstructionsListenerDecorator.InstructionsListIterator
- All Implemented Interfaces:
Iterator<Instr>,ListIterator<Instr>
- Enclosing class:
- InstructionsListenerDecorator
private class InstructionsListenerDecorator.InstructionsListIterator
extends Object
implements ListIterator<Instr>
-
Field Details
-
currentInstr
-
currentIndex
private int currentIndex -
listIterator
-
-
Constructor Details
-
InstructionsListIterator
public InstructionsListIterator()
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<Instr>
-
previous
- Specified by:
previousin interfaceListIterator<Instr>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<Instr>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<Instr>
-
remove
public void remove() -
set
- Specified by:
setin interfaceListIterator<Instr>
-
add
- Specified by:
addin interfaceListIterator<Instr>
-