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