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 booleanhasMoreBytes()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:IOByteArrayEnumerationgets the next byte[] in the enumeration. Throws NoSuchElementException if no more byte arrays remain.- Specified by:
nextBytesin interfaceIOByteArrayEnumeration
-
hasMoreBytes
boolean hasMoreBytes()
Description copied from interface:IOByteArrayEnumerationchecks whether any more byte arrays remain in the enumeration.- Specified by:
hasMoreBytesin interfaceIOByteArrayEnumeration
-
-