T - the element typeCA - the accepted values collection typeCR - the rejected values collection typepublic class PartitionBy<T,CA extends Collection<T>,CR extends Collection<T>> extends Object implements Function<Iterator<T>,Pair<CA,CR>>
| Constructor and Description |
|---|
PartitionBy(Predicate<T> partitioner,
Supplier<CA> acceptedCollectionProvider,
Supplier<CR> rejectedCollectionProvider) |
Copyright © 2017. All rights reserved.