Searched refs:valueFn (Results 1 – 1 of 1) sorted by relevance
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TabulatorsTest.java | 113 private final Function<T, V> valueFn; field in TabulatorsTest.ToMapAssertion 117 Function<T, V> valueFn, in ToMapAssertion() argument 122 this.valueFn = valueFn; in ToMapAssertion() 135 .map(valueFn) in assertValue() 400 Function<Integer, Integer> valueFn = i -> i * 4; 410 exerciseMapTabulation(data, toMap(keyFn, valueFn), 411 new ToMapAssertion<>(keyFn, valueFn, op, HashMap.class)); 420 exerciseMapTabulation(data, toMap(keyFn, valueFn, op), 421 new ToMapAssertion<>(keyFn, valueFn, op, HashMap.class)); 423 exerciseMapTabulation(data, toMap(keyFn, valueFn, op, TreeMap::new), [all …]
|