Class ServletFilterWrapperConfig.IteratorEnumeration
java.lang.Object
org.ametys.core.servletwrapper.filter.ServletFilterWrapperConfig.IteratorEnumeration
- All Implemented Interfaces:
Enumeration<String>
- Enclosing class:
- ServletFilterWrapperConfig
public class ServletFilterWrapperConfig.IteratorEnumeration
extends Object
implements Enumeration<String>
An enumeration based on an iterator
-
Constructor Summary
ConstructorDescriptionCreate an enumeration from an iterator -
Method Summary
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
-
Constructor Details
-
IteratorEnumeration
Create an enumeration from an iterator- Parameters:
it
- The iterator to enumerate
-
-
Method Details
-
hasMoreElements
- Specified by:
hasMoreElements
in interfaceEnumeration<String>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<String>
-