public final class ByteArrayIterator extends AbstractIndexedIterator<Byte>
| Constructor and Description |
|---|
ByteArrayIterator(byte... array)
Creates a new ByteArrayIterator.
|
| Modifier and Type | Method and Description |
|---|---|
Byte |
get(int index)
Returns the payload value at the given index.
|
hasNext, hasPrevious, next, previousremoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveforEachRemainingpublic ByteArrayIterator(byte... array)
throws IllegalArgumentException
array - The byte[] to iterate over.IllegalArgumentException - If the given byte[] is null.public Byte get(int index)
AbstractIndexedIteratorget in class AbstractIndexedIterator<Byte>index - The index to be used, which is guaranteed to be non-negative
and smaller then the maximum index.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.