public final class ByteArrayIterable extends Object implements ProtectedIterable<Byte>
ByteArrayIterable is a ProtectedIterable that generates
Iterators that iterate over a given byte[].
Calling iterator() creates an instance of
ByteArrayIterator.
| Constructor and Description |
|---|
ByteArrayIterable(byte[] array)
Creates a new
ByteArrayIterable for the given byte[]. |
| Modifier and Type | Method and Description |
|---|---|
ByteArrayIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ByteArrayIterable(byte[] array)
throws IllegalArgumentException
ByteArrayIterable for the given byte[].array - The byte[] to iterate over.IllegalArgumentException - If the given byte[] is null.public ByteArrayIterator iterator()
Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.