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
Constructors Constructor Description IteratorEnumeration(Iterator<String> it)
Create an enumeration from an iterator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
String
nextElement()
-
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 Detail
-
IteratorEnumeration
public IteratorEnumeration(Iterator<String> it)
Create an enumeration from an iterator- Parameters:
it
- The iterator to enumerate
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfaceEnumeration<String>
-
nextElement
public String nextElement()
- Specified by:
nextElement
in interfaceEnumeration<String>
-
-