Searched refs:LongPredicate (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/function/ |
D | LongPredicate.java | 41 public interface LongPredicate { interface 68 default LongPredicate and(LongPredicate other) { in and() 80 default LongPredicate negate() { in negate() 100 default LongPredicate or(LongPredicate other) { in or()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | LongPredicateTest.java | 22 import java.util.function.LongPredicate; 34 LongPredicate alwaysTrue = x -> { alwaysTrueInvoked.set(true); return true; }; in testAnd() 35 LongPredicate alwaysTrue2 = x -> { alwaysTrue2Invoked.set(true); return true; }; in testAnd() 36 LongPredicate alwaysFalse = x -> { alwaysFalseInvoked.set(true); return false; }; in testAnd() 37 LongPredicate alwaysFalse2 = x -> { alwaysFalse2Invoked.set(true); return false; }; in testAnd() 61 LongPredicate alwaysTrue = x -> true; in testAnd_null() 70 LongPredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; in testNegate() 73 LongPredicate alwaysFalse = x -> { assertEquals(x, arg); return false; }; in testNegate() 85 LongPredicate alwaysTrue = x -> { alwaysTrueInvoked.set(true); return true; }; in testOr() 86 LongPredicate alwaysTrue2 = x -> { alwaysTrue2Invoked.set(true); return true; }; in testOr() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | LongStream.java | 45 import java.util.function.LongPredicate; 93 LongStream filter(LongPredicate predicate); in filter() 562 boolean anyMatch(LongPredicate predicate); in anyMatch() 585 boolean allMatch(LongPredicate predicate); in allMatch() 608 boolean noneMatch(LongPredicate predicate); in noneMatch()
|
D | LongPipeline.java | 40 import java.util.function.LongPredicate; 325 public final LongStream filter(LongPredicate predicate) { 475 public final boolean anyMatch(LongPredicate predicate) { 480 public final boolean allMatch(LongPredicate predicate) { 485 public final boolean noneMatch(LongPredicate predicate) {
|
D | MatchOps.java | 31 import java.util.function.LongPredicate; 137 public static TerminalOp<Long, Boolean> makeLong(LongPredicate predicate, in makeLong()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 43 import java.util.function.LongPredicate; 257 private static final LongPredicate[] LONG_PREDICATES 258 = new LongPredicate[]{lpTrue, lpFalse, lpEven, lpOdd}; 261 private final Map<Kind, Function<LongPredicate, Function<LongStream, Boolean>>> longKinds 262 = new HashMap<Kind, Function<LongPredicate, Function<LongStream, Boolean>>>() {{ 268 …private void assertLongPredicates(Supplier<LongStream> source, Kind kind, LongPredicate[] predicat… in assertLongPredicates() 292 for (LongPredicate p : LONG_PREDICATES) { in testLongStream()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 41 import java.util.function.LongPredicate; 89 public static final LongPredicate lpFalse = x -> false; 90 public static final LongPredicate lpTrue = x -> true; 91 public static final LongPredicate lpEven = x -> 0 == x % 2; 92 public static final LongPredicate lpOdd = x -> 1 == x % 2;
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 42 import java.util.function.LongPredicate; 90 public static final LongPredicate lpFalse = x -> false; 91 public static final LongPredicate lpTrue = x -> true; 92 public static final LongPredicate lpEven = x -> 0 == x % 2; 93 public static final LongPredicate lpOdd = x -> 1 == x % 2;
|
/libcore/ |
D | openjdk_java_files.bp | 1038 "ojluni/src/main/java/java/util/function/LongPredicate.java",
|