Class Y
java.lang.Object
picasso.parser.language.ExpressionTreeNode
picasso.parser.language.expressions.Y
- All Implemented Interfaces:
EvaluatableExpression
Represents y in a Picasso expression
- Author:
- Robert C. Duvall, Sara Sprenkle
-
Field Summary
Fields inherited from class picasso.parser.language.ExpressionTreeNode
gelementsToValue -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Y
public Y()
-
-
Method Details
-
evaluate
Returns the color represented by y. The value of x doesn't matter.- Specified by:
evaluatein interfaceEvaluatableExpression- Specified by:
evaluatein classExpressionTreeNode- Parameters:
x- the value of xy- the value of y- Returns:
- the result of evaluating the expression for the given values of x and y
-
equals
-
toString
Returns "y", the representation of this variable in Picasso expressions
-