mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-18 19:29:08 +00:00
28 lines
536 B
Java
28 lines
536 B
Java
/*
|
|
* This file is subject to the license.txt file in the main folder
|
|
* of this project.
|
|
*/
|
|
|
|
package stanhebben.zenscript.parser;
|
|
|
|
/**
|
|
* This interface represents an iterator over integer values.
|
|
*
|
|
* @author Stan Hebben
|
|
*/
|
|
public interface IteratorI {
|
|
/**
|
|
* Returns true if the iteration has more elements.
|
|
*
|
|
* @return true if the iteration has more elements
|
|
*/
|
|
public boolean hasNext();
|
|
|
|
/**
|
|
* Returns the next element in this iteration.
|
|
*
|
|
* @return the next element in this iteration
|
|
*/
|
|
public int next();
|
|
}
|