net.sourceforge.jeval.operator
Class BooleanOrOperator

java.lang.Object
  extended by net.sourceforge.jeval.operator.AbstractOperator
      extended by net.sourceforge.jeval.operator.BooleanOrOperator
All Implemented Interfaces:
Operator

public class BooleanOrOperator
extends AbstractOperator

The boolean or operator.


Constructor Summary
BooleanOrOperator()
          Default constructor.
 
Method Summary
 double evaluate(double leftOperand, double rightOperand)
          Evaluates two double operands.
 
Methods inherited from class net.sourceforge.jeval.operator.AbstractOperator
equals, evaluate, evaluate, getLength, getPrecedence, getSymbol, isUnary, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanOrOperator

public BooleanOrOperator()
Default constructor.

Method Detail

evaluate

public double evaluate(double leftOperand,
                       double rightOperand)
Evaluates two double operands.

Specified by:
evaluate in interface Operator
Overrides:
evaluate in class AbstractOperator
Parameters:
leftOperand - The left operand being evaluated.
rightOperand - The right operand being evaluated.


Copyright (C) 2002-2007 Robert Breidecker.