Package com.mchange.util
Interface ByteArrayEnumeration
-
- All Superinterfaces:
java.util.Enumeration
,IOByteArrayEnumeration
,IOEnumeration
,MEnumeration
public interface ByteArrayEnumeration extends MEnumeration, IOByteArrayEnumeration
-
-
Field Summary
-
Fields inherited from interface com.mchange.util.MEnumeration
EMPTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasMoreBytes()
checks whether any more byte arrays remain in the enumeration.byte[]
nextBytes()
gets the next byte[] in the enumeration.-
Methods inherited from interface com.mchange.io.IOByteArrayEnumeration
hasMoreElements, nextElement
-
Methods inherited from interface com.mchange.util.MEnumeration
hasMoreElements, nextElement
-
-
-
-
Method Detail
-
nextBytes
byte[] nextBytes()
Description copied from interface:IOByteArrayEnumeration
gets the next byte[] in the enumeration. Throws NoSuchElementException if no more byte arrays remain.- Specified by:
nextBytes
in interfaceIOByteArrayEnumeration
-
hasMoreBytes
boolean hasMoreBytes()
Description copied from interface:IOByteArrayEnumeration
checks whether any more byte arrays remain in the enumeration.- Specified by:
hasMoreBytes
in interfaceIOByteArrayEnumeration
-
-