uniqueKeyIterator() публичный Метод

Returns an iterator which will return only the first associated value for any key.
public uniqueKeyIterator ( Traversable $iterator ) : Pinq\Iterators\IWrapperIterator
$iterator Traversable
Результат Pinq\Iterators\IWrapperIterator
Пример #1
0
 public function indexBy(callable $function)
 {
     return $this->constructScopedSelf($this->scheme->uniqueKeyIterator($this->scheme->projectionIterator($this->elements, $function, null)));
 }