filter


Description:

public Seq<G> filter (owned Predicate<G> pred)

Returns a seq which contains the elements of this seq that match the given predicate.

This is a stateless intermediate operation.

Parameters:

pred

a non-interfering and stateless predicate

Returns:

the new seq