Package repast.simphony.util
Class IntRange
- java.lang.Object
-
- repast.simphony.util.IntRange
-
public class IntRange extends Object
- Author:
- Nick Collier Date: Nov 6, 2008 12:06:01 PM
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
boolean
hasNext()
void
next()
Gets the next int in the rangevoid
reset()
-
-
-
Method Detail
-
next
public void next()
Gets the next int in the range- Throws:
NoSuchElementException
- if the next int is out of range.
-
getValue
public int getValue()
-
reset
public void reset()
-
hasNext
public boolean hasNext()
-
-