Searched refs:takeWhile (Results 1 - 12 of 12) sorted by relevance

/openjdk10/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DWhileOpTest.java58 setContext("takeWhile", size);
62 s -> s.takeWhile(e -> e < size),
63 s -> s.takeWhile(e -> e < size),
64 s -> s.takeWhile(e -> e < size),
65 s -> s.takeWhile(e -> e < size));
70 s -> s.takeWhile(e -> e < size).takeWhile(e -> e < size / 2),
71 s -> s.takeWhile(e -> e < size).takeWhile(e -> e < size / 2),
72 s -> s.takeWhile(
[all...]
H A DWhileOpStatefulTest.java67 s.takeWhile(e -> isWithinTakePeriod.getAsBoolean())
73 s.takeWhile(e -> isWithinTakePeriod.getAsBoolean())
79 s.takeWhile(e -> isWithinTakePeriod.getAsBoolean())
85 s.takeWhile(e -> isWithinTakePeriod.getAsBoolean())
95 long rc = s.takeWhile(e -> c.getAndIncrement() < TAKE_WHILE_COUNT_LIMIT)
101 long rc = s.takeWhile(e -> c.getAndIncrement() < TAKE_WHILE_COUNT_LIMIT)
107 long rc = s.takeWhile(e -> c.getAndIncrement() < TAKE_WHILE_COUNT_LIMIT)
113 long rc = s.takeWhile(e -> c.getAndIncrement() < TAKE_WHILE_COUNT_LIMIT)
124 Object[] ra = s.takeWhile(e -> c.getAndIncrement() < TAKE_WHILE_COUNT_LIMIT)
130 int[] ra = s.takeWhile(
[all...]
/openjdk10/jdk/test/java/awt/GraphicsDevice/DisplayModes/
H A DCompareToXrandrTest.java62 .takeWhile(Matcher::find).map(m -> m.group(1))
/openjdk10/jdk/test/java/lang/StackWalker/
H A DReflectionFrames.java739 // The takeWhile method arrange for stopping frame collection
746 public boolean takeWhile(StackFrame f) { method in class:ReflectionFrames.StackInspector
778 return s.takeWhile(this::takeWhile)
/openjdk10/jdk/src/java.base/share/classes/java/util/stream/
H A DLongStream.java317 * While {@code takeWhile()} is generally a cheap operation on sequential
324 * {@code takeWhile()} in parallel pipelines, if the semantics of your
327 * {@code takeWhile()} in parallel pipelines, switching to sequential
337 default LongStream takeWhile(LongPredicate predicate) { method in interface:LongStream
H A DDoubleStream.java319 * While {@code takeWhile()} is generally a cheap operation on sequential
326 * {@code takeWhile()} in parallel pipelines, if the semantics of your
329 * {@code takeWhile()} in parallel pipelines, switching to sequential
339 default DoubleStream takeWhile(DoublePredicate predicate) { method in interface:DoubleStream
H A DIntStream.java317 * While {@code takeWhile()} is generally a cheap operation on sequential
323 * in significant speedups of {@code takeWhile()} in parallel pipelines, if
326 * utilization with {@code takeWhile()} in parallel pipelines, switching to
336 default IntStream takeWhile(IntPredicate predicate) { method in interface:IntStream
H A DStream.java536 * While {@code takeWhile()} is generally a cheap operation on sequential
542 * significant speedups of {@code takeWhile()} in parallel pipelines, if the
545 * utilization with {@code takeWhile()} in parallel pipelines, switching to
555 default Stream<T> takeWhile(Predicate<? super T> predicate) { method in interface:Stream
H A DDoublePipeline.java361 public final DoubleStream takeWhile(DoublePredicate predicate) { method in class:DoublePipeline
H A DIntPipeline.java392 public final IntStream takeWhile(IntPredicate predicate) { method in class:IntPipeline
H A DLongPipeline.java374 public final LongStream takeWhile(LongPredicate predicate) { method in class:LongPipeline
H A DReferencePipeline.java417 public final Stream<P_OUT> takeWhile(Predicate<? super P_OUT> predicate) { method in class:ReferencePipeline

Completed in 159 milliseconds