AE2 First Commit, the dawn of 1.7 hast arrived.

This commit is contained in:
algorithmx2
2013-12-27 16:59:59 -06:00
commit e9acdcbee2
468 changed files with 47440 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
package appeng.util.iterators;
import java.util.Iterator;
public class ChainedIterator<T> implements Iterator<T>
{
int offset = 0;
T[] list;
public ChainedIterator(T... list) {
this.list = list;
}
@Override
public boolean hasNext()
{
return offset < list.length;
}
@Override
public T next()
{
return list[offset++];
}
@Override
public void remove()
{
throw new RuntimeException( "Not implemented." );
}
}