public function __construct(IGenerator $iterator) { parent::__construct($iterator); }
public function __construct(IGenerator $iterator, callable $groupByFunction, callable $traversableFactory) { parent::__construct($iterator); self::__constructIterator($groupByFunction, $traversableFactory); }