Class Vector3D

    • Constructor Detail

      • Vector3D

        public Vector3D​(String vector3D)
        Construct Vector3D by the parsing the given string
        Parameters:
        vector3D - The String to be parsed into Vector3D
    • Method Detail

      • toString

        public String toString()
        Returns a String Object representing this Vector3D's value
        Overrides:
        toString in class Object
        Returns:
        return a string representation of the value of this Vector3D object
      • valueOf

        public static Vector3D valueOf​(String stringValue)
        Returns a Vector3D instance representing the specified String value
        Parameters:
        stringValue - a String value
        Returns:
        return a Vector3D instance representing stringValue
      • isValid

        public static boolean isValid​(String stringValue)
        check if the specified String instance is a valid vector3D data type
        Parameters:
        stringValue - the value to be tested
        Returns:
        true if the value of argument is valid for vector3D data type false otherwise