webit.script.lang.iter.LongArrayIter Maven / Gradle / Ivy
// Copyright (c) 2013-2014, Webit Team. All Rights Reserved.
package webit.script.lang.iter;
/**
*
* @author Zqq
*/
public final class LongArrayIter extends AbstractArrayIter {
private final long[] array;
public LongArrayIter(long[] array) {
super(array.length - 1);
this.array = array;
}
@Override
public Object next() {
return array[++_index];
}
}