Searched refs:predicates (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 98 …private <T> void assertPredicates(List<T> source, Kind kind, Predicate<T>[] predicates, boolean...… in assertPredicates() argument 99 for (int i = 0; i < predicates.length; i++) { in assertPredicates() 101 boolean match = this.<T>kinds().get(kind).apply(predicates[i]).apply(source.stream()); in assertPredicates() 102 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertPredicates() 183 …ertIntPredicates(Supplier<IntStream> source, Kind kind, IntPredicate[] predicates, boolean... answ… in assertIntPredicates() argument 184 for (int i = 0; i < predicates.length; i++) { in assertIntPredicates() 186 boolean match = intKinds.get(kind).apply(predicates[i]).apply(source.get()); in assertIntPredicates() 187 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertIntPredicates() 268 …LongPredicates(Supplier<LongStream> source, Kind kind, LongPredicate[] predicates, boolean... answ… in assertLongPredicates() argument 269 for (int i = 0; i < predicates.length; i++) { in assertLongPredicates() [all …]
|