public function filter($predicate) { $this->iterator = Iterators::filter($this->iterator, $predicate); return $this; }