Class VecVal

  • All Implemented Interfaces:
    HostResult

    public class VecVal
    extends Val
    A vec val.
    • Method Detail

      • asList

        public List<Val> asList()
        Returns a list containing the elements of the vec.

        The result list may or may not reflect modification after returning from the method.

        Returns:
        a list containing the elements of the vec.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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.