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.IntervalIterator
Iterator within the current IntervalIterator over the Interval list -
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
intervalsIterator
Iterator over the Interval list -
current
Iterator within the current Interval
-
-
Constructor Details
-
IntCharSetIterator
private IntCharSetIterator()New iterator for this IntCharSet
-
-
Method Details
-
hasNext
public boolean hasNext() -
nextInt
public int nextInt()- Specified by:
nextInt
in interfacePrimitiveIterator.OfInt
-