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
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.PrimitiveIterator.OfInt
forEachRemaining, forEachRemaining, next
-
Method Details
-
hasNext
public boolean hasNext() -
nextInt
public int nextInt()- Specified by:
nextIntin interfacePrimitiveIterator.OfInt
-