Searched refs:IntPredicate (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/main/java/java/util/function/ |
D | IntPredicate.java | 41 public interface IntPredicate { interface 68 default IntPredicate and(IntPredicate other) { in and() 80 default IntPredicate negate() { in negate() 100 default IntPredicate or(IntPredicate other) { in or()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | IntPredicateTest.java | 22 import java.util.function.IntPredicate; 36 IntPredicate alwaysTrue = in testAnd() 38 IntPredicate alwaysTrue2 = in testAnd() 40 IntPredicate alwaysFalse = in testAnd() 42 IntPredicate alwaysFalse2 = in testAnd() 67 IntPredicate alwaysTrue = x -> true; in testAnd_null() 76 IntPredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; in testNegate() 79 IntPredicate alwaysFalse = x -> { assertEquals(x, arg); return false; }; in testNegate() 93 IntPredicate alwaysTrue = in testOr() 95 IntPredicate alwaysTrue2 = in testOr() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | IntStream.java | 40 import java.util.function.IntPredicate; 88 IntStream filter(IntPredicate predicate); in filter() 557 boolean anyMatch(IntPredicate predicate); in anyMatch() 580 boolean allMatch(IntPredicate predicate); in allMatch() 603 boolean noneMatch(IntPredicate predicate); in noneMatch()
|
D | IntPipeline.java | 39 import java.util.function.IntPredicate; 344 public final IntStream filter(IntPredicate predicate) { 493 public final boolean anyMatch(IntPredicate predicate) { 498 public final boolean allMatch(IntPredicate predicate) { 503 public final boolean noneMatch(IntPredicate predicate) {
|
D | MatchOps.java | 30 import java.util.function.IntPredicate; 108 public static TerminalOp<Integer, Boolean> makeInt(IntPredicate predicate, in makeInt()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 42 import java.util.function.IntPredicate; 172 private static final IntPredicate[] INT_PREDICATES 173 = new IntPredicate[]{ipTrue, ipFalse, ipEven, ipOdd}; 176 private final Map<Kind, Function<IntPredicate, Function<IntStream, Boolean>>> intKinds 177 = new HashMap<Kind, Function<IntPredicate, Function<IntStream, Boolean>>>() {{ 183 …private void assertIntPredicates(Supplier<IntStream> source, Kind kind, IntPredicate[] predicates,… in assertIntPredicates() 207 for (IntPredicate p : INT_PREDICATES) { in testIntStream()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 37 import java.util.function.IntPredicate; 85 public static final IntPredicate ipFalse = x -> false; 86 public static final IntPredicate ipTrue = x -> true; 87 public static final IntPredicate ipEven = x -> 0 == x % 2; 88 public static final IntPredicate ipOdd = x -> 1 == x % 2;
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 38 import java.util.function.IntPredicate; 86 public static final IntPredicate ipFalse = x -> false; 87 public static final IntPredicate ipTrue = x -> true; 88 public static final IntPredicate ipEven = x -> 0 == x % 2; 89 public static final IntPredicate ipOdd = x -> 1 == x % 2;
|
/libcore/ |
D | openjdk_java_files.bp | 1030 "ojluni/src/main/java/java/util/function/IntPredicate.java",
|