Class OctaveString

    • Constructor Detail

      • OctaveString

        public OctaveString​(String string)
        Parameters:
        string -
    • Method Detail

      • getString

        public String getString()
        Returns the string represented by this object.
        Returns:
        the string represented by this object.
      • setString

        public void setString​(String string)
        Parameters:
        string - the string to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • shallowCopy

        public OctaveString shallowCopy()
        Description copied from interface: OctaveObject
        Make a shallow copy of this object. In general when an OctaveObject is returned from a getter, e.g. on OctaveStruct or OctaveStruct, a shallow copy is returned in order to follow the way octave behaves. This method is used to make that copy.
        Specified by:
        shallowCopy in interface OctaveObject
        Returns:
        a shallow copy of this