fr.dyade.aaa.agent
Class ServersHT.Enumerator
java.lang.Object
fr.dyade.aaa.agent.ServersHT.Enumerator
- All Implemented Interfaces:
- java.util.Enumeration
- Enclosing class:
- ServersHT
private class ServersHT.Enumerator
- extends java.lang.Object
- implements java.util.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
table
ServersHT.ServerDescEntry[] table
index
int index
entry
ServersHT.ServerDescEntry entry
lastReturned
ServersHT.ServerDescEntry lastReturned
type
int type
expectedModCount
protected int expectedModCount
- The modCount value that the iterator believes that the backing
List should have. If this expectation is violated, the iterator
has detected concurrent modification.
ServersHT.Enumerator
ServersHT.Enumerator(int type)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interface java.util.Enumeration
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.