Package jflex.chars
Class Interval.IntervalIterator
- java.lang.Object
-
- jflex.chars.Interval.IntervalIterator
-
- All Implemented Interfaces:
Iterator<Integer>
,PrimitiveIterator<Integer,IntConsumer>
,PrimitiveIterator.OfInt
- Enclosing class:
- Interval
public class Interval.IntervalIterator extends Object implements PrimitiveIterator.OfInt
Iterator for enumerating the elements of this Interval
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
int
nextInt()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.PrimitiveIterator.OfInt
forEachRemaining, forEachRemaining, next
-
-
-
-
Method Detail
-
nextInt
public int nextInt()
- Specified by:
nextInt
in interfacePrimitiveIterator.OfInt
-
-