Package jflex.core.unicode
Class IntCharSet.IntCharSetIterator
- java.lang.Object
-
- jflex.core.unicode.IntCharSet.IntCharSetIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Integer>
,java.util.PrimitiveIterator<java.lang.Integer,java.util.function.IntConsumer>
,java.util.PrimitiveIterator.OfInt
- Enclosing class:
- IntCharSet
public static class IntCharSet.IntCharSetIterator extends java.lang.Object implements java.util.PrimitiveIterator.OfInt
Iterator for enumerating the elements of this IntCharSet
-
-
Field Summary
Fields Modifier and Type Field Description private Interval.IntervalIterator
current
Iterator within the current Intervalprivate java.util.Iterator<Interval>
intervalsIterator
Iterator over the Interval list
-
Constructor Summary
Constructors Modifier Constructor Description private
IntCharSetIterator(IntCharSet set)
New iterator for this IntCharSet
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
int
nextInt()
-
-
-
Field Detail
-
intervalsIterator
private final java.util.Iterator<Interval> intervalsIterator
Iterator over the Interval list
-
current
private Interval.IntervalIterator current
Iterator within the current Interval
-
-
Constructor Detail
-
IntCharSetIterator
private IntCharSetIterator(IntCharSet set)
New iterator for this IntCharSet
-
-