Package org.onosproject.rest
Class AbstractInjectionResource.StreamEnumeration
- java.lang.Object
-
- org.onosproject.rest.AbstractInjectionResource.StreamEnumeration
-
- All Implemented Interfaces:
Enumeration<InputStream>
- Enclosing class:
- AbstractInjectionResource
protected class AbstractInjectionResource.StreamEnumeration extends Object implements Enumeration<InputStream>
Auxiliary enumeration to sequence input streams.
-
-
Constructor Summary
Constructors Constructor Description StreamEnumeration(List<InputStream> streams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMoreElements()
InputStream
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
-
StreamEnumeration
public StreamEnumeration(List<InputStream> streams)
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfaceEnumeration<InputStream>
-
nextElement
public InputStream nextElement()
- Specified by:
nextElement
in interfaceEnumeration<InputStream>
-
-