Package org.glassfish.rmic.tools.asm
Class SwitchDataEnumeration
java.lang.Object
org.glassfish.rmic.tools.asm.SwitchDataEnumeration
- All Implemented Interfaces:
Enumeration<Integer>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new enumeration from the hashtable. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Are there more keys to return?Return the next key.
-
Field Details
-
table
-
current_index
private int current_index
-
-
Constructor Details
-
SwitchDataEnumeration
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 Details
-
hasMoreElements
public boolean hasMoreElements()Are there more keys to return?- Specified by:
hasMoreElements
in interfaceEnumeration<Integer>
-
nextElement
Return the next key.- Specified by:
nextElement
in interfaceEnumeration<Integer>
-