org.vertexium.util.ArrayIterable Maven / Gradle / Ivy
package org.vertexium.util;
import java.util.Iterator;
public class ArrayIterable implements Iterable {
private final T[] items;
public ArrayIterable(T[] items) {
this.items = items;
}
@Override
@SuppressWarnings("unchecked")
public Iterator iterator() {
return new ArrayIterator(this.items);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy