Package fr.dyade.aaa.common.stream
Class Properties.Enumerator
- java.lang.Object
-
- fr.dyade.aaa.common.stream.Properties.Enumerator
-
- All Implemented Interfaces:
Enumeration
- Enclosing class:
- Properties
private class Properties.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) Properties.Entryentry(package private) intindex(package private) Properties.Entry[]table(package private) inttype
-
Constructor Summary
Constructors Constructor Description Enumerator(int type, boolean iterator)
-
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
Properties.Entry[] table
-
index
int index
-
entry
Properties.Entry entry
-
type
int type
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfaceEnumeration
-
nextElement
public Object nextElement()
- Specified by:
nextElementin interfaceEnumeration
-
-