org.jikesrvm.compilers.opt.ir
Interface InstructionEnumeration

All Superinterfaces:
Enumeration<Instruction>
All Known Implementing Classes:
DefaultPriority, IREnumeration.AllInstructionsEnum, Priority

public interface InstructionEnumeration
extends Enumeration<Instruction>

Extend java.util.Enumeration to avoid downcasts from object. Also provide a preallocated empty instruction enumeration.


Method Summary
 Instruction next()
          Same as nextElement but avoid the need to downcast from Object
 
Methods inherited from interface java.util.Enumeration
hasMoreElements, nextElement
 

Method Detail

next

Instruction next()
Same as nextElement but avoid the need to downcast from Object