public final class ByteArrayIterator extends Object implements ProtectedIterator<Byte>
| Constructor and Description |
|---|
ByteArrayIterator(byte[] array)
Creates a new ByteArrayIterator that iterates over the given
byte[]. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Byte |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ByteArrayIterator(byte[] array)
throws IllegalArgumentException
byte[].array - The byte[] to iterate over.IllegalArgumentException - If the given byte[] is null.public Byte next() throws NoSuchElementException
next in interface Iterator<Byte>NoSuchElementExceptionpublic void remove()
throws UnsupportedOperationException
remove in interface Iterator<Byte>UnsupportedOperationExceptionCopyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.