Class UnicodeSet.CodePointIteratorInt

java.lang.Object
com.ibm.icu.text.UnicodeSet.CodePointIteratorInt
Enclosing class:
UnicodeSet

private static class UnicodeSet.CodePointIteratorInt extends Object
This class is optimized to iterate on code points and will be used to implement both the Iterator (Integer, boxed value) and the Spliterator.OfInt (int primitive). It looks exactly like an Iterator, but works on the primitive int, so it can't implement Iterator.
  • Field Details

    • list

      private final int[] list
    • lastRange

      private final int lastRange
    • currentRange

      private int currentRange
    • rangeStart

      private int rangeStart
    • rangeLimit

      private int rangeLimit
  • Constructor Details

    • CodePointIteratorInt

      public CodePointIteratorInt(UnicodeSet unicodeSet)
  • Method Details

    • hasNext

      public boolean hasNext()
    • next

      public int next()