Lines Matching defs:PrimitiveIterator
42 * 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> {
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<Long, LongConsumer> {
201 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.nextLong()");
223 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.forEachRemainingLong(action::accept)");
233 public static interface OfDouble extends PrimitiveIterator<Double, DoubleConsumer> {
274 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfDouble.nextLong()");
297 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfDouble.forEachRemainingDouble(action::accept)");