HomeSort by relevance Sort by last modified time
    Searched full:longconsumer (Results 1 - 25 of 39) sorted by null

1 2

  /libcore/luni/src/test/java/libcore/java/util/function/
LongConsumerTest.java 21 import java.util.function.LongConsumer;
27 LongConsumer one = l -> sb.append("one:" + l + ",");
28 LongConsumer two = l -> sb.append("two:" + l);
35 LongConsumer one = s -> {};
  /libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
LongStreamTestScenario.java 32 import java.util.function.LongConsumer;
48 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
60 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
69 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
78 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
87 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
95 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
102 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
110 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
119 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m)
    [all...]
TestData.java 34 import java.util.function.LongConsumer;
325 spliterator().forEachRemaining((LongConsumer) target::add);
SpliteratorTestHelper.java 101 class BoxingAdapter implements Consumer<Long>, LongConsumer {
183 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null));
184 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((LongConsumer) null));
680 static void mixedTraverseAndSplit(LongConsumer b, Spliterator.OfLong splTop) {
  /libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
LongStreamTestScenario.java 32 import java.util.function.LongConsumer;
51 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
63 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
72 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
81 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
90 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
98 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
105 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
113 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) {
122 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m)
    [all...]
TestData.java 34 import java.util.function.LongConsumer;
326 spliterator().forEachRemaining((LongConsumer) target::add);
SpliteratorTestHelper.java 101 class BoxingAdapter implements Consumer<Long>, LongConsumer {
183 executeAndCatch(NullPointerException.class, () -> psp.forEachRemaining((LongConsumer) null));
184 executeAndCatch(NullPointerException.class, () -> psp.tryAdvance((LongConsumer) null));
680 static void mixedTraverseAndSplit(LongConsumer b, Spliterator.OfLong splTop) {
  /libcore/ojluni/src/main/java/java/util/function/
LongConsumer.java 33 * {@code LongConsumer} is expected to operate via side-effects.
42 public interface LongConsumer {
52 * Returns a composed {@code LongConsumer} that performs, in sequence, this
59 * @return a composed {@code LongConsumer} that performs in sequence this
63 default LongConsumer andThen(LongConsumer after) {
  /libcore/luni/src/test/java/libcore/java/util/
OptionalLongTest.java 25 import java.util.function.LongConsumer;
50 LongConsumer alwaysFails = value -> fail();
54 LongConsumer recorder = (long value) -> reference.set(value);
PrimitiveIteratorTest.java 28 import java.util.function.LongConsumer;
149 cit.forEachRemaining((LongConsumer) null);
  /libcore/ojluni/src/main/java/java/util/
PrimitiveIterator.java 30 import java.util.function.LongConsumer;
160 public static interface OfLong extends PrimitiveIterator<Long, LongConsumer> {
186 default void forEachRemaining(LongConsumer action) {
208 * If the action is an instance of {@code LongConsumer} then it is cast
209 * to {@code LongConsumer} and passed to {@link #forEachRemaining};
211 * {@code LongConsumer}, by boxing the argument of {@code LongConsumer},
216 if (action instanceof LongConsumer) {
217 forEachRemaining((LongConsumer) action);
224 forEachRemaining((LongConsumer) action::accept)
    [all...]
Spliterator.java 30 import java.util.function.LongConsumer;
    [all...]
OptionalLong.java 27 import java.util.function.LongConsumer;
39 * {@link #ifPresent(java.util.function.LongConsumer) ifPresent()} (execute a block
135 public void ifPresent(LongConsumer consumer) {
LongSummaryStatistics.java 28 import java.util.function.LongConsumer;
65 public class LongSummaryStatistics implements LongConsumer, IntConsumer {
  /libcore/ojluni/src/main/java/java/util/stream/
LongPipeline.java 38 import java.util.function.LongConsumer;
96 * Adapt a {@code Sink<Long> to an {@code LongConsumer}, ideally simply
99 private static LongConsumer adapt(Sink<Long> sink) {
100 if (sink instanceof LongConsumer) {
101 return (LongConsumer) sink;
160 LongConsumer adaptedSink = adapt(sink);
334 public final LongStream peek(LongConsumer action) {
385 public void forEach(LongConsumer action) {
390 public void forEachOrdered(LongConsumer action) {
540 public void forEach(LongConsumer action)
    [all...]
StreamSpliterators.java 38 import java.util.function.LongConsumer;
414 public boolean tryAdvance(LongConsumer consumer) {
423 public void forEachRemaining(LongConsumer consumer) {
587 extends OfPrimitive<Long, LongConsumer, Spliterator.OfLong>
844 static final class OfLong extends OfPrimitive<Long, Spliterator.OfLong, LongConsumer>
863 protected LongConsumer emptyConsumer() {
    [all...]
Node.java 32 import java.util.function.LongConsumer;
387 interface OfLong extends OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, OfLong> {
394 * {@code LongConsumer}, it is cast to {@code LongConsumer} so
399 if (consumer instanceof LongConsumer) {
400 forEach((LongConsumer) consumer);
436 for (int i = 0; i < from && spliterator.tryAdvance((LongConsumer) e -> { }); i++) { }
437 for (int i = 0; (i < size) && spliterator.tryAdvance((LongConsumer) nodeBuilder); i++) { }
ForEachOps.java 36 import java.util.function.LongConsumer;
95 * @param action the {@code LongConsumer} that receives all elements of a
100 public static TerminalOp<Long, Void> makeLong(LongConsumer action,
212 final LongConsumer consumer;
214 OfLong(LongConsumer consumer, boolean ordered) {
Streams.java 33 import java.util.function.LongConsumer;
208 public boolean tryAdvance(LongConsumer consumer) {
226 public void forEachRemaining(LongConsumer consumer) {
583 public boolean tryAdvance(LongConsumer action) {
597 public void forEachRemaining(LongConsumer action) {
824 extends ConcatSpliterator.OfPrimitive<Long, LongConsumer, Spliterator.OfLong>
SpinedBuffer.java 39 import java.util.function.LongConsumer;
840 public static class OfLong extends SpinedBuffer.OfPrimitive<Long, long[], LongConsumer>
841 implements LongConsumer {
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
LongPrimitiveOpsTests.java 32 import java.util.function.LongConsumer;
140 class AssertingConsumer implements LongConsumer {
TeeOpTest.java 36 import java.util.function.LongConsumer;
122 class RecordingConsumer extends AbstractRecordingConsumer<Long> implements LongConsumer {
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
SerializedLambdaTest.java 42 import java.util.function.LongConsumer;
292 LongConsumer lc = (LongConsumer & Serializable) a::addAndGet;
  /libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
NodeBuilderTest.java 31 import java.util.function.LongConsumer;
180 n.forEach((LongConsumer) _l::add);
SpinedBufferTest.java 31 import java.util.function.LongConsumer;
256 spliterator.forEachRemaining((LongConsumer) contentOfLastSplit::add);

Completed in 508 milliseconds

1 2