Package com.luciad.expressions
Class Expression
java.lang.Object
com.luciad.expressions.Expression
- All Implemented Interfaces:
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 Summary
Modifier and TypeMethodDescriptionvoid
accept
(IExpressionVisitor visitor) An expression accepts a visitor allowing to traverse the expression hierarchy.void
close()
boolean
protected void
finalize()
int
hashCode()
boolean
Returns whether this expression is a condition.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
isCondition
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
An expression accepts a visitor allowing to traverse the expression hierarchy.- Parameters:
visitor
- the visitor.
-
hashCode
public int hashCode() -
equals
-