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