Method ADT.Set()->filter_destructively()
- Method filter_destructively
this_program filter_destructively(function(:void) f)
- Description
Destructively filter the set, i.e. remove every element for which the filtering function f returns 0, and then return the set.
The filtering function is called with a single mixed-type argument which is the member value to be checked.