Returns an iterator which will return unique values present
in the first and second iterator.
public intersectionIterator ( Traversable $iterator, Traversable $otherIterator ) : Pinq\Iterators\IWrapperIterator | ||
$iterator | Traversable | |
$otherIterator | Traversable | |
Résultat | Pinq\Iterators\IWrapperIterator |
public function intersect($values) { return $this->constructScopedSelf($this->scheme->intersectionIterator($this->elements, $this->scheme->toIterator($values))); }