public class OrOperation extends AndOperation
leftOperand, rightOperand| Constructor and Description |
|---|
OrOperation(BooleanOperation leftOperand,
BooleanOperation rightOperand) |
OrOperation(StreamExpression expression,
StreamFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate() |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
operatepublic OrOperation(BooleanOperation leftOperand, BooleanOperation rightOperand)
public OrOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic boolean evaluate()
evaluate in interface BooleanOperationevaluate in class AndOperationpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression in interface ExpressibletoExpression in class AndOperationIOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation in interface ExpressibletoExplanation in class AndOperationfactory - Stream factory for this, contains information about the function nameIOException - throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.