jbet
Class InstrEnum
java.lang.Object
jbet.InstrEnum
- All Implemented Interfaces:
- java.util.Enumeration
public class InstrEnum
- extends java.lang.Object
- implements java.util.Enumeration
Implements an Java enumeration interface (with extensions peek() and
nextInstr()) for a linked list of JBET Instructions (part of a Snippit).
$Id: InstrEnum.java,v 1.4 2003/09/09 17:31:54 areisse Exp $
- See Also:
Snippit.instrs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ptr
public Instruction ptr
InstrEnum
public InstrEnum(Instruction i)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
peek
public Instruction peek()
nextInstr
public Instruction nextInstr()
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration