Class CreationOperationExpression<T>

  • Type Parameters:
    T - the type of the object which will be created by the contained operation.
    All Implemented Interfaces:
    java.io.Serializable, Expression<T>, Node

    public class CreationOperationExpression<T>
    extends AbstractDeferredExpression<T>
    implements java.io.Serializable
    An expression which contains an operation which will create an object of a certain type just from nothing (with no additional input).
    See Also:
    Serialized Form
    • Constructor Detail

      • CreationOperationExpression

        public CreationOperationExpression​(CreationOperation<T> operation)
    • 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