private function buildConversionTable()
    {
        if ($this->source->getRadix() > $this->target->getRadix()) {
            return $this->createTable($this->source->getDigitList(), $this->target->getDigitList());
        }

        return array_flip($this->createTable($this->target->getDigitList(), $this->source->getDigitList()));
    }
private function buildConversionTable()
    {
        if ($this->source->getRadix() > $this->target->getRadix()) {
            return $this->createTable($this->source->getDigitList(), $this->target->getDigitList());
        }

        return array_flip($this->createTable($this->target->getDigitList(), $this->source->getDigitList()));
    }
private function buildConversionTable ( ) { if ( $ this -> source -> getRadix ( ) > $ this -> target -> getRadix ( ) ) { return $ this -> createTable ( $ this -> source -> getDigitList ( ) , $ this -> target -> getDigitList ( ) ) ; } return array_flip ( $ this -> createTable ( $ this -> target -> getDigitList ( ) , $ this -> source -> getDigitList ( ) ) ) ; }
Creates string replacement table between source base and target base.
@return array<string,string> String replacement table for converting numbers
Creates string replacement table between source base and target base .