Searched defs:PrimitiveIterator (Results 1 - 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DPrimitiveIterator.java42 * should be used. For example, {@link PrimitiveIterator.OfInt#nextInt()} and
43 * {@link PrimitiveIterator.OfInt#forEachRemaining(java.util.function.IntConsumer)}
44 * should be used in preference to {@link PrimitiveIterator.OfInt#next()} and
45 * {@link PrimitiveIterator.OfInt#forEachRemaining(java.util.function.Consumer)}.
58 * @param <T> the type of elements returned by this PrimitiveIterator. The
68 public interface PrimitiveIterator<T, T_CONS> extends Iterator<T> { interface in inherits:Iterator
86 public static interface OfInt extends PrimitiveIterator<Integer, IntConsumer> {
127 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfInt.nextInt()");
149 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfInt.forEachRemainingInt(action::accept)");
160 public static interface OfLong extends PrimitiveIterator<Lon
[all...]

Completed in 22 milliseconds