webit.script.util.collection.AbstractIter Maven / Gradle / Ivy
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.util.collection;
/**
*
* @author Zqq
*/
public abstract class AbstractIter implements Iter {
protected int _index = -1;
public E next() {
++_index;
return _next();
}
protected abstract E _next();
public boolean isFirst() {
return _index == 0;
}
public int index() {
return _index;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy