Package fr.dyade.aaa.agent
Class ServersHT.Enumerator
- java.lang.Object
-
- fr.dyade.aaa.agent.ServersHT.Enumerator
-
- All Implemented Interfaces:
Enumeration
- Enclosing class:
- ServersHT
private class ServersHT.Enumerator extends Object implements Enumeration
A hashtable enumerator class. This class implements both the Enumeration and Iterator interfaces, but individual instances can be created with the Iterator methods disabled. This is necessary to avoid unintentionally increasing the capabilities granted a user by passing an Enumeration.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ServersHT.ServerDescEntryentry(package private) intindex(package private) ServersHT.ServerDescEntry[]table(package private) inttype
-
Constructor Summary
Constructors Constructor Description Enumerator(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreElements()ObjectnextElement()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Field Detail
-
table
ServersHT.ServerDescEntry[] table
-
index
int index
-
entry
ServersHT.ServerDescEntry entry
-
type
int type
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfaceEnumeration
-
nextElement
public Object nextElement()
- Specified by:
nextElementin interfaceEnumeration
-
-