Here is a stream with the main collector and a downstream collector:
Map<Boolean, Long> map = Stream.of(5, 1, 9, -2, -5, 1)
.collect(Collectors.partitioningBy(n -> n > 0, Collectors.summingLong(x -> x)));
Select one correct statement after executing this code.