Class UnaryOperationExpression<T>

  • Type Parameters:
    T - the type of the unary operand on which to perform the unary operation
    All Implemented Interfaces:
    java.io.Serializable, Expression<T>, Node

    public class UnaryOperationExpression<T>
    extends AbstractDeferredExpression<T>
    implements java.io.Serializable
    An unresolved expression, which can be resolved by a corresponding resolver by evaluating an unary operation. The information it contains for the resolver, are the operation itself and an expression for the single operand on whose resolved result the unary operation shall be performed.
    See Also:
    Serialized Form
    • Method Detail

      • getChildren

        public java.util.List<Node> getChildren()
        Description copied from interface: Node
        Has to return the children of the node. This must never return null
        Specified by:
        getChildren in interface Node
        Returns:
        a list containing all the children of the node
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

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

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