Interface IterableOfInt
- All Known Implementing Classes:
UCharacter.CodePoints
Subinterface of Iterable whose iterator() returns a
PrimitiveIterator.OfInt.
Allows direct use of the primitive iterator without downcasting.-
Method Summary
Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
iterator
PrimitiveIterator.OfInt iterator()- Specified by:
iteratorin interfaceIterable<Integer>- Returns:
- a
PrimitiveIterator.OfInt
-