Package com.mchange.io
Interface IOByteArrayEnumeration
-
- All Superinterfaces:
IOEnumeration
- All Known Subinterfaces:
ByteArrayEnumeration
public interface IOByteArrayEnumeration extends IOEnumeration
A typed IOEnumeration that returns byte[]'s
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasMoreBytes()checks whether any more byte arrays remain in the enumeration.booleanhasMoreElements()checks whether any more byte arrays remain in the enumeration.byte[]nextBytes()gets the next byte[] in the enumeration.java.lang.ObjectnextElement()gets the next byte[] in the enumeration, returning it as an Object.
-
-
-
Method Detail
-
nextBytes
byte[] nextBytes() throws java.io.IOExceptiongets the next byte[] in the enumeration. Throws NoSuchElementException if no more byte arrays remain.- Throws:
java.io.IOException
-
hasMoreBytes
boolean hasMoreBytes() throws java.io.IOExceptionchecks whether any more byte arrays remain in the enumeration.- Throws:
java.io.IOException
-
nextElement
java.lang.Object nextElement() throws java.io.IOExceptiongets the next byte[] in the enumeration, returning it as an Object. Throws NoSuchElementException if no more byte arrays remain.- Specified by:
nextElementin interfaceIOEnumeration- Throws:
java.io.IOException
-
hasMoreElements
boolean hasMoreElements() throws java.io.IOExceptionchecks whether any more byte arrays remain in the enumeration.- Specified by:
hasMoreElementsin interfaceIOEnumeration- Throws:
java.io.IOException
-
-