filter


Description:


public Collector<A,Object,G> filter<A,G> (owned Predicate<G> pred, Collector<A,Object,G> downstream)

Returns a collector that only accumulates the elements matching the given predicate.

Parameters:

pred

a predicate function

downstream

a downstream collector

Returns:

the collector implementation


Namespace: Gpseq.Collectors
Package: gpseq-1.0



2022 vala-language.org