public abstract class Expression extends Object
Constructor and Description |
---|
Expression()
Initializes this expression.
|
Modifier and Type | Method and Description |
---|---|
abstract double |
evaluate(double x,
double y)
Evaluates this expression at the given x- and y-coordinate.
|
public abstract double evaluate(double x, double y)
x
- the x-coordinate.y
- the y-coordinate.