- bag-filter predicate bagprocedure
Returns a newly allocated bag with the same comparator as bag, containing just the elements of bag that satisfy predicate.
Returns a newly allocated bag with the same comparator as bag, containing just the elements of bag that satisfy predicate.