Package org.glassfish.rmic.tools.asm
Class SwitchDataEnumeration
- java.lang.Object
-
- org.glassfish.rmic.tools.asm.SwitchDataEnumeration
-
- All Implemented Interfaces:
java.util.Enumeration<java.lang.Integer>
class SwitchDataEnumeration extends java.lang.Object implements java.util.Enumeration<java.lang.Integer>
-
-
Field Summary
Fields Modifier and Type Field Description private intcurrent_indexprivate java.lang.Integer[]table
-
Constructor Summary
Constructors Constructor Description SwitchDataEnumeration(java.util.Hashtable<java.lang.Integer,Label> tab)Create a new enumeration from the hashtable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreElements()Are there more keys to return?java.lang.IntegernextElement()Return the next key.
-
-
-
Constructor Detail
-
SwitchDataEnumeration
SwitchDataEnumeration(java.util.Hashtable<java.lang.Integer,Label> tab)
Create a new enumeration from the hashtable. Each key in the hash table will be an Integer, with the value being a label. The enumeration returns the keys in sorted order.
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
Are there more keys to return?- Specified by:
hasMoreElementsin interfacejava.util.Enumeration<java.lang.Integer>
-
nextElement
public java.lang.Integer nextElement()
Return the next key.- Specified by:
nextElementin interfacejava.util.Enumeration<java.lang.Integer>
-
-