com.softicar.platform.common.container.array.IterableByteArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.array;
import java.util.Iterator;
public class IterableByteArray implements Iterable {
private final byte[] array;
public IterableByteArray(byte[] array) {
this.array = array;
}
@Override
public Iterator iterator() {
return new ByteArrayIterator(array);
}
}