Package org.cactoos.iterable
Class IterableOfBytes
- java.lang.Object
-
- org.cactoos.iterable.IterableEnvelope<Byte>
-
- org.cactoos.iterable.IterableOfBytes
-
public final class IterableOfBytes extends IterableEnvelope<Byte>
Iterable of bytes.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description IterableOfBytes(byte... bytes)
Ctor.IterableOfBytes(String str)
Ctor.IterableOfBytes(Bytes bytes)
Ctor.IterableOfBytes(Text txt)
Ctor.
-
Method Summary
-
Methods inherited from class org.cactoos.iterable.IterableEnvelope
equals, hashCode, iterator, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
IterableOfBytes
public IterableOfBytes(Text txt)
Ctor.- Parameters:
txt
- Text
-
IterableOfBytes
public IterableOfBytes(String str)
Ctor.- Parameters:
str
- String
-
IterableOfBytes
public IterableOfBytes(byte... bytes)
Ctor.- Parameters:
bytes
- Bytes
-
IterableOfBytes
public IterableOfBytes(Bytes bytes)
Ctor.- Parameters:
bytes
- Bytes to iterate
-
-