blob: bedd4e2f4a7a30a68c47fe44a3b98c802ef9360c [file] [log] [blame]
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Stream;
class App {
void foo(Stream<Integer> boxed) {
final Map<Integer, Integer> count = boxed.collect(HashMap::new, null, HashMap::putAll);
}
}