Package com.ibm.icu.lang
Interface IterableOfInt
-
public interface IterableOfInt extends Iterable<Integer>
Subinterface of Iterable whose iterator() returns aPrimitiveIterator.OfInt
. Allows direct use of the primitive iterator without downcasting.- Status:
- Draft ICU 78.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrimitiveIterator.OfInt
iterator()
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
iterator
PrimitiveIterator.OfInt iterator()
- Specified by:
iterator
in interfaceIterable<Integer>
- Returns:
- a
PrimitiveIterator.OfInt
- Status:
- Draft ICU 78.
-
-