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) |
operate
public OrOperation(BooleanOperation leftOperand, BooleanOperation rightOperand)
public OrOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public boolean evaluate()
evaluate
in interface BooleanOperation
evaluate
in class AndOperation
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression
in interface Expressible
toExpression
in class AndOperation
IOException
public Explanation toExplanation(StreamFactory factory) throws IOException
Expressible
toExplanation
in interface Expressible
toExplanation
in class AndOperation
factory
- Stream factory for this, contains information about the function nameIOException
- throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.