Class Literal<T>

  • Type Parameters:
    T - the literal type.
    All Implemented Interfaces:
    HasType

    public class Literal<T>
    extends Expression
    Represents a literal value, meaning the value is fixed and not depending on the runtime evaluation of the expression.
    • Constructor Detail

      • Literal

        public Literal()
    • Method Detail

      • getValue

        public T getValue()
      • setValue

        public void setValue​(T value)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class Expression