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