Returns an iterator which will return uniqe values present
in the first but not the second iterator.
public differenceIterator ( Traversable $iterator, Traversable $otherIterator ) : Pinq\Iterators\IWrapperIterator | ||
$iterator | Traversable | |
$otherIterator | Traversable | |
return | Pinq\Iterators\IWrapperIterator |
public function difference($values) { return $this->constructScopedSelf($this->scheme->differenceIterator($this->elements, $this->scheme->toIterator($values))); }