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
  • Constructor Details

    • IntRange

      public IntRange(int min, int max)
    • IntRange

      public IntRange(int min, int max, int step)
  • Method Details

    • 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()