Home
last modified time | relevance | path

Searched refs:anyMatch (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DMatchOpTest.java88 put(Kind.ANY, p -> s -> s.anyMatch(p));
163 assertTrue(s.get().anyMatch(i -> i > 3)); in testInfinite()
166 assertTrue(s.get().parallel().anyMatch(i -> i > 3)); in testInfinite()
178 put(Kind.ANY, p -> s -> s.anyMatch(p));
248 assertTrue(s.get().anyMatch(i -> i > 3)); in testIntInfinite()
251 assertTrue(s.get().parallel().anyMatch(i -> i > 3)); in testIntInfinite()
263 put(Kind.ANY, p -> s -> s.anyMatch(p));
333 assertTrue(s.get().anyMatch(i -> i > 3)); in testLongInfinite()
336 assertTrue(s.get().parallel().anyMatch(i -> i > 3)); in testLongInfinite()
348 put(Kind.ANY, p -> s -> s.anyMatch(p));
[all …]
DSortedOpTest.java160 assertEquals(knownSize.apply(2).anyMatch(i -> i == 2), true); in testSequentialShortCircuitTerminal()
163 assertEquals(unknownSize.apply(2).anyMatch(i -> i == 2), true); in testSequentialShortCircuitTerminal()
237 assertEquals(knownSize.apply(2).anyMatch(i -> i == 2), true); in testIntSequentialShortCircuitTerminal()
240 assertEquals(unknownSize.apply(2).anyMatch(i -> i == 2), true); in testIntSequentialShortCircuitTerminal()
285 assertEquals(knownSize.apply(2).anyMatch(i -> i == 2), true); in testLongSequentialShortCircuitTerminal()
288 assertEquals(unknownSize.apply(2).anyMatch(i -> i == 2), true); in testLongSequentialShortCircuitTerminal()
333 assertEquals(knownSize.apply(2).anyMatch(i -> i == 2.0), true); in testDoubleSequentialShortCircuitTerminal()
336 assertEquals(unknownSize.apply(2).anyMatch(i -> i == 2.0), true); in testDoubleSequentialShortCircuitTerminal()
/libcore/ojluni/src/main/java/java/util/stream/
DDoubleStream.java614 boolean anyMatch(DoublePredicate predicate); in anyMatch() method
DIntStream.java557 boolean anyMatch(IntPredicate predicate); in anyMatch() method
DLongStream.java562 boolean anyMatch(LongPredicate predicate); in anyMatch() method
DStream.java875 boolean anyMatch(Predicate<? super T> predicate); in anyMatch() method
DDoublePipeline.java496 public final boolean anyMatch(DoublePredicate predicate) {
DIntPipeline.java493 public final boolean anyMatch(IntPredicate predicate) {
DLongPipeline.java475 public final boolean anyMatch(LongPredicate predicate) {
DReferencePipeline.java466 public final boolean anyMatch(Predicate<? super P_OUT> predicate) {
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java258 if (Arrays.stream(dexFiles).anyMatch(v -> v == null)) { in initByteBufferDexPath()