Package org.codehaus.groovy.util
Class ByteArrayIterator
java.lang.Object
org.codehaus.groovy.util.ByteArrayIterator
Allows a byte array to be used where an Iterator is expected.
- Since:
- 3.0.8
-
Constructor Summary
ConstructorsConstructorDescriptionByteArrayIterator(byte[] array) Creates an iterator that traverses the supplied array in index order. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ByteArrayIterator
public ByteArrayIterator(byte[] array) Creates an iterator that traverses the supplied array in index order.- Parameters:
array- the backing array to iterate
-
-
Method Details