Searched refs:DoublePredicate (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/function/ |
D | DoublePredicate.java | 41 public interface DoublePredicate { interface 68 default DoublePredicate and(DoublePredicate other) { in and() 80 default DoublePredicate negate() { in negate() 100 default DoublePredicate or(DoublePredicate other) { in or()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | DoublePredicateTest.java | 22 import java.util.function.DoublePredicate; 36 DoublePredicate alwaysTrue = in testAnd() 38 DoublePredicate alwaysTrue2 = in testAnd() 40 DoublePredicate alwaysFalse = in testAnd() 42 DoublePredicate alwaysFalse2 = in testAnd() 67 DoublePredicate alwaysTrue = x -> true; in testAnd_null() 76 DoublePredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; in testNegate() 79 DoublePredicate alwaysFalse = x -> { assertEquals(x, arg); return false; }; in testNegate() 93 DoublePredicate alwaysTrue = in testOr() 95 DoublePredicate alwaysTrue2 = in testOr() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 41 import java.util.function.DoublePredicate; 90 DoubleStream filter(DoublePredicate predicate); in filter() 612 boolean anyMatch(DoublePredicate predicate); in anyMatch() 635 boolean allMatch(DoublePredicate predicate); in allMatch() 658 boolean noneMatch(DoublePredicate predicate); in noneMatch()
|
D | DoublePipeline.java | 38 import java.util.function.DoublePredicate; 294 public final DoubleStream filter(DoublePredicate predicate) { 481 public final boolean anyMatch(DoublePredicate predicate) { 486 public final boolean allMatch(DoublePredicate predicate) { 491 public final boolean noneMatch(DoublePredicate predicate) {
|
D | MatchOps.java | 29 import java.util.function.DoublePredicate; 167 public static TerminalOp<Double, Boolean> makeDouble(DoublePredicate predicate, in makeDouble()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 40 import java.util.function.DoublePredicate; 342 private static final DoublePredicate[] DOUBLE_PREDICATES 343 = new DoublePredicate[]{dpTrue, dpFalse, dpEven, dpOdd}; 346 private final Map<Kind, Function<DoublePredicate, Function<DoubleStream, Boolean>>> doubleKinds 347 = new HashMap<Kind, Function<DoublePredicate, Function<DoubleStream, Boolean>>>() {{ 353 …private void assertDoublePredicates(Supplier<DoubleStream> source, Kind kind, DoublePredicate[] pr… in assertDoublePredicates() 377 for (DoublePredicate p : DOUBLE_PREDICATES) { in testDoubleStream()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 33 import java.util.function.DoublePredicate; 94 public static final DoublePredicate dpFalse = x -> false; 95 public static final DoublePredicate dpTrue = x -> true; 96 public static final DoublePredicate dpEven = x -> 0 == ((long) x) % 2; 97 public static final DoublePredicate dpOdd = x -> 1 == ((long) x) % 2;
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 32 import java.util.function.DoublePredicate; 93 public static final DoublePredicate dpFalse = x -> false; 94 public static final DoublePredicate dpTrue = x -> true; 95 public static final DoublePredicate dpEven = x -> 0 == ((long) x) % 2; 96 public static final DoublePredicate dpOdd = x -> 1 == ((long) x) % 2;
|
/libcore/ |
D | openjdk_java_files.mk | 1017 ojluni/src/main/java/java/util/function/DoublePredicate.java \
|