Package jflex.core.unicode
Class IntCharSet.IntCharSetIterator
java.lang.Object
jflex.core.unicode.IntCharSet.IntCharSetIterator
- All Implemented Interfaces:
Iterator<Integer>,PrimitiveIterator<Integer,,IntConsumer> PrimitiveIterator.OfInt
- Enclosing class:
IntCharSet
Iterator for enumerating the elements of this IntCharSet
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Interval.IntervalIteratorIterator within the current IntervalIterator over the Interval list -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateNew iterator for this IntCharSet -
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
-
Field Details
-
intervalsIterator
Iterator over the Interval list -
current
Iterator within the current Interval
-
-
Constructor Details
-
IntCharSetIterator
New iterator for this IntCharSet
-
-
Method Details
-
hasNext
public boolean hasNext() -
nextInt
public int nextInt()- Specified by:
nextIntin interfacePrimitiveIterator.OfInt
-