Class StrVal

  • All Implemented Interfaces:
    HostResult

    public class StrVal
    extends Val
    A str val.
    • Method Detail

      • getString

        public String getString()
        Returns the string.
        Returns:
        the string.
      • concat

        public StrVal concat​(StrVal tail)
        Returns a str val concatenating this and tail.
        Parameters:
        tail - str val to concatenate.
        Returns:
        a str val concatenating this and tail.
      • getCustomVarMapping

        public VarMapping getCustomVarMapping()
        Description copied from class: Val
        Returns the var mapping for a val class.

        Override this method to provide vars common to the val class. The content of the var mapping is preferred than the common ones.

        Overrides:
        getCustomVarMapping in class Val
        Returns:
        the var mapping for a val class.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object