Package com.mchange.io
Interface IOByteArrayEnumeration
- All Superinterfaces:
IOEnumeration
- All Known Subinterfaces:
ByteArrayEnumeration
A typed IOEnumeration that returns byte[]'s
-
Method Summary
Modifier and TypeMethodDescriptionbooleanchecks whether any more byte arrays remain in the enumeration.booleanchecks whether any more byte arrays remain in the enumeration.byte[]gets the next byte[] in the enumeration.gets the next byte[] in the enumeration, returning it as an Object.
-
Method Details
-
nextBytes
gets the next byte[] in the enumeration. Throws NoSuchElementException if no more byte arrays remain.- Throws:
IOException
-
hasMoreBytes
checks whether any more byte arrays remain in the enumeration.- Throws:
IOException
-
nextElement
gets the next byte[] in the enumeration, returning it as an Object. Throws NoSuchElementException if no more byte arrays remain.- Specified by:
nextElementin interfaceIOEnumeration- Throws:
IOException
-
hasMoreElements
checks whether any more byte arrays remain in the enumeration.- Specified by:
hasMoreElementsin interfaceIOEnumeration- Throws:
IOException
-