private function _getCombination($sourceDataSet, $setKeyList, Pointer $pointer)
    {
        $combination = array();

        $indexPointerList = $pointer->getPointerList();
        foreach ($indexPointerList as $indexPointer) {
            $namedKey = $setKeyList[$indexPointer];
            
            $combination[$namedKey] = $sourceDataSet[$namedKey];
        }

        return $combination;
    }
private function _getCombination($sourceDataSet, $setKeyList, Pointer $pointer)
    {
        $combination = array();

        $indexPointerList = $pointer->getPointerList();
        foreach ($indexPointerList as $indexPointer) {
            $namedKey = $setKeyList[$indexPointer];
            
            $combination[$namedKey] = $sourceDataSet[$namedKey];
        }

        return $combination;
    }
private function _getCombination ( $ sourceDataSet , $ setKeyList , Pointer $ pointer ) { $ combination = array ( ) ; $ indexPointerList = $ pointer -> getPointerList ( ) ; foreach ( $ indexPointerList as $ indexPointer ) { $ namedKey = $ setKeyList [ $ indexPointer ] ; $ combination [ $ namedKey ] = $ sourceDataSet [ $ namedKey ] ; } return $ combination ; }
Get the combination for the current pointer positions.
@param array $sourceDataSet The source data set.
@param array $setKeyList    The keys of the source data set.<br/>These can be calculated off
of the source data set, however, for performance optimization, this value can be
calculated once outside this method and thus no more memory needs to be initialized
to temporarily store this keys.
@param \Math\Set\Combination\Pointer $pointer Object that represents the indexes to
be used for the current combination
@return array A list of elements representing the combination given by the current pointers.
Get the combination for the current pointer positions .