public class And extends Object implements Expression
| Modifier and Type | Method and Description |
|---|---|
Expression |
getLeft() |
Expression |
getRight() |
boolean |
interpret(Version version)
Checks if both operands evaluate to
true. |
public boolean interpret(Version version)
true.interpret in interface Expressionversion - the version to interpret againsttrue if both operands evaluate to true or false otherwisepublic Expression getLeft()
public Expression getRight()
Copyright © 2016. All rights reserved.