Functional Programming - Partition By

About

A partition by operation partitions the data according to a predicate.

See also: Data Partitions (Clustering of data)

Syntax

Map<Boolean, List<T>> result = partitionBy(predicate, toList());

Powered by ComboStrap