Home
last modified time | relevance | path

Searched refs:BiPredicate (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/util/function/
DBiPredicate.java43 public interface BiPredicate<T, U> { interface
71 default BiPredicate<T, U> and(BiPredicate<? super T, ? super U> other) { in and()
83 default BiPredicate<T, U> negate() { in negate()
103 default BiPredicate<T, U> or(BiPredicate<? super T, ? super U> other) { in or()
/libcore/luni/src/test/java/libcore/java/util/function/
DBiPredicateTest.java22 import java.util.function.BiPredicate;
36 BiPredicate<Object, Object> alwaysTrue = in testAnd()
38 BiPredicate<Object, Object> alwaysTrue2 = in testAnd()
40 BiPredicate<Object, Object> alwaysFalse = in testAnd()
42 BiPredicate<Object, Object> alwaysFalse2 = in testAnd()
67 BiPredicate<Object, Object> alwaysTrue = (x, y) -> true; in testAnd_null()
77 BiPredicate<Object, Object> alwaysTrue = in testNegate()
81 BiPredicate<Object, Object> alwaysFalse = in testNegate()
96 BiPredicate<Object, Object> alwaysTrue = in testOr()
98 BiPredicate<Object, Object> alwaysTrue2 = in testOr()
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLambdaTestHelpers.java28 import java.util.function.BiPredicate;
108 public static final BiPredicate<?, ?> bipFalse = (x, y) -> false;
109 public static final BiPredicate<?, ?> bipTrue = (x, y) -> true;
110 public static final BiPredicate<Integer, Integer> bipBothEven = (x, y) -> 0 == (x % 2 + y % 2);
111 public static final BiPredicate<Integer, Integer> bipBothOdd = (x, y) -> 2 == (x % 2 + y % 2);
112 …public static final BiPredicate<?, ?> bipSameString = (x, y) -> String.valueOf(x).equals(String.va…
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DLambdaTestHelpers.java27 import java.util.function.BiPredicate;
107 public static final BiPredicate<?, ?> bipFalse = (x, y) -> false;
108 public static final BiPredicate<?, ?> bipTrue = (x, y) -> true;
109 public static final BiPredicate<Integer, Integer> bipBothEven = (x, y) -> 0 == (x % 2 + y % 2);
110 public static final BiPredicate<Integer, Integer> bipBothOdd = (x, y) -> 2 == (x % 2 + y % 2);
111 …public static final BiPredicate<?, ?> bipSameString = (x, y) -> String.valueOf(x).equals(String.va…
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java76 import java.util.function.BiPredicate;
3683 BiPredicate<Path, BasicFileAttributes> matcher,
/libcore/
Dopenjdk_java_files.bp1022 "ojluni/src/main/java/java/util/function/BiPredicate.java",