Class IntRange


  • public class IntRange
    extends Object
    Author:
    Nick Collier Date: Nov 6, 2008 12:06:01 PM
    • Constructor Detail

      • IntRange

        public IntRange​(int min,
                        int max)
      • IntRange

        public IntRange​(int min,
                        int max,
                        int step)
    • 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()