Package io.milton.zsync
Class Upload.IteratorEnum<T>
java.lang.Object
io.milton.zsync.Upload.IteratorEnum<T>
- Type Parameters:
T- The type of object being enumerated
- All Implemented Interfaces:
Enumeration<T>
- Enclosing class:
- Upload
An
Enumeration wrapper for an Iterator. This is needed in order to construct
a SequenceInputStream (used to concatenate upload sections), which takes an Enumeration argument.- Author:
- Nick
-
Constructor Details
-
IteratorEnum
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<T>
-