public function getJavaClass($name): Interfaces\JavaClass
    {
        if (!array_key_exists($name, $this->classMapCache)) {
            $this->classMapCache[$name] = new JavaClass($name);
        }

        return $this->classMapCache[$name];
    }
public function getJavaClass($name): Interfaces\JavaClass
    {
        if (!array_key_exists($name, $this->classMapCache)) {
            $this->classMapCache[$name] = new JavaClass($name);
        }

        return $this->classMapCache[$name];
    }
public function getJavaClass ( $ name ) : Interfaces \ JavaClass { if ( ! array_key_exists ( $ name , $ this -> classMapCache ) ) { $ this -> classMapCache [ $ name ] = new JavaClass ( $ name ) ; } return $ this -> classMapCache [ $ name ] ; }
Return a Java class.

@throws \Soluble\Japha\Bridge\Driver\Pjb62\Exception\BrokenConnectionException

@param string $name Name of the java class

@return JavaClass
Return a Java class .