org.oddjob.state
Class AndStateOp

java.lang.Object
  extended by org.oddjob.state.AndStateOp
All Implemented Interfaces:
StateOperator

public class AndStateOp
extends Object
implements StateOperator

Implementation of a StateOperator that provides logical 'and' like functionality.

Author:
rob

Constructor Summary
AndStateOp()
           
 
Method Summary
 ParentState evaluate(State... states)
          Evaluate the given states.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndStateOp

public AndStateOp()
Method Detail

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.