org.oddjob.state
Class OrStateOp
java.lang.Object
org.oddjob.state.OrStateOp
- All Implemented Interfaces:
- StateOperator
public class OrStateOp
- extends Object
- implements StateOperator
Implementation of a StateOperator
that provides logical 'and'
like functionality.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrStateOp
public OrStateOp()
evaluate
public ParentState evaluate(State... states)
- Description copied from interface:
StateOperator
- Evaluate the given states.
- Specified by:
evaluate
in interface StateOperator
- Parameters:
states
- The states.
- Returns:
- The result state.