Class Expression

java.lang.Object
com.luciad.expressions.Expression
All Implemented Interfaces:
AutoCloseable

public final class Expression extends Object implements AutoCloseable
An expression is an opaque object whose evaluation returns a value.

A condition is a case of an expression that always returns a boolean value.

  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • isCondition Link icon

      public boolean isCondition()
      Returns whether this expression is a condition.

      This is the case when the evaluation of the expression always results in a boolean.

      Returns:
      true when this expression is a condition.
    • accept Link icon

      public void accept(@NotNull IExpressionVisitor visitor)
      An expression accepts a visitor allowing to traverse the expression hierarchy.
      Parameters:
      visitor - the visitor.
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals Link icon

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object