Functional Programming - Partition By

Imperative Vs Functional


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

See also: Data Partitions (Clustering of data)


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

Discover More
Imperative Vs Functional
Functional Programming - Reduce - Reduction Operation (fold)

A (reduction|reduce) operation (also called a fold) is a functional programming function. Reduction operations are terminal operations. They takes a sequence of input elements and returns: a single...

Share this page:
Follow us:
Task Runner