Class Arguments

  • All Implemented Interfaces:
    java.io.Serializable

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

      • Arguments

        public Arguments()
      • Arguments

        public Arguments​(java.util.List<? extends ExpressionNode> expressions)
    • Method Detail

      • expressions

        public java.util.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 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object