public class CollectExpression extends Expression
Modifier and Type | Field and Description |
---|---|
protected Expression |
expression
The collect expression.
|
Constructor and Description |
---|
CollectExpression(Expression expression)
Create a new unary operation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsVariable(Variable var)
Test if a variable is contained in the expression.
|
boolean |
equals(java.lang.Object o)
Test if this expression is equal to some object.
|
Expression |
getExpression()
Get the expression.
|
int |
hashCode()
Get the hash code of this expression.
|
java.lang.String |
toString()
Get a string representation of this expression.
|
protected Expression expression
public CollectExpression(Expression expression)
public boolean containsVariable(Variable var)
containsVariable
in class Expression
var
- The variable.public Expression getExpression()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object