Searched defs:Partition (Results 1 - 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
H A DCollectors.java95 * // Partition students into passing and failing
1138 BiConsumer<Partition<A>, T> accumulator = (result, t) ->
1141 BinaryOperator<Partition<A>> merger = (left, right) ->
1142 new Partition<>(op.apply(left.forTrue, right.forTrue),
1144 Supplier<Partition<A>> supplier = () ->
1145 new Partition<>(downstream.supplier().get(),
1151 Function<Partition<A>, Map<Boolean, D>> finisher = par ->
1152 new Partition<>(downstream.finisher().apply(par.forTrue),
1540 private static final class Partition<T> class in class:Collectors
1546 Partition( method in class:Collectors.Partition
[all...]

Completed in 7 milliseconds