public static function filter(Iterator $iterator, $predicate) { return new FilteringIterator($iterator, $predicate); }