Lines Matching defs:Collectors
70 * List<String> list = people.stream().map(Person::getName).collect(Collectors.toList());
73 * Set<String> set = people.stream().map(Person::getName).collect(Collectors.toCollection(TreeSet::new));
78 * .collect(Collectors.joining(", "));
82 * .collect(Collectors.summingInt(Employee::getSalary)));
87 * .collect(Collectors.groupingBy(Employee::getDepartment));
92 * .collect(Collectors.groupingBy(Employee::getDepartment,
93 * Collectors.summingInt(Employee::getSalary)));
98 * .collect(Collectors.partitioningBy(s -> s.getGrade() >= PASS_THRESHOLD));
104 public final class Collectors {
120 private Collectors() { }
383 characteristics = Collectors.CH_NOID;
911 BinaryOperator<Map<K, A>> merger = Collectors.<K, A, Map<K, A>>mapMerger(downstream.combiner());
1057 BinaryOperator<ConcurrentMap<K, A>> merger = Collectors.<K, A, ConcurrentMap<K, A>>mapMerger(downstream.combiner());