Class Arguments

  • All Implemented Interfaces:
    Serializable

    public final class Arguments
    extends Object
    implements Serializable
    A set of argument expressions to a function or feature. This is a value object.
    Author:
    bratseth
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • Arguments

        public Arguments()
    • Method Detail

      • expressions

        public List<ExpressionNode> expressions()
        Returns an unmodifiable list of the expressions in this, never null
      • size

        public int size()
        Returns the number of arguments in this
      • evaluate

        public Value[] evaluate​(Context context)
        Evaluate all arguments in this
      • evaluate

        public Value evaluate​(int i,
                              Context context)
        Evaluate the i'th argument
      • isEmpty

        public boolean isEmpty()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object