__construct() public method

public __construct ( Pinq\Iterators\Generators\IGenerator $iterator )
$iterator Pinq\Iterators\Generators\IGenerator
示例#1
0
 public function __construct(IGenerator $outerIterator, IGenerator $innerIterator)
 {
     parent::__construct($outerIterator);
     self::__constructIterator();
     $this->outerIterator =& $this->iterator;
     $this->innerIterator = $innerIterator;
 }
示例#2
0
 public function __construct(IGenerator $iterator, callable $keyProjectionFunction = null, callable $valueProjectionFunction = null)
 {
     parent::__construct($iterator);
     self::__constructIterator($keyProjectionFunction, $valueProjectionFunction);
 }
 public function __construct(IGenerator $iterator)
 {
     parent::__construct($iterator);
 }
示例#4
0
 public function __construct(IGenerator $iterator, $startAmount, $rangeAmount)
 {
     parent::__construct($iterator);
     self::__constructIterator($startAmount, $rangeAmount);
 }
示例#5
0
 public function __construct(IGenerator $iterator, $defaultValue, $defaultKey)
 {
     parent::__construct($iterator);
     self::__constructIterator($defaultValue, $defaultKey);
 }
示例#6
0
 public function __construct(IGenerator $iterator, ISetFilter $setFilter)
 {
     parent::__construct($iterator);
     self::__constructIterator($setFilter);
 }
示例#7
0
 public function __construct(IGenerator $iterator, callable $filter)
 {
     parent::__construct($iterator);
     self::__constructIterator($filter);
 }