org.objectweb.fractal.task.core.composition.function
Class Or

java.lang.Object
  extended by org.objectweb.fractal.task.core.composition.function.Or
All Implemented Interfaces:
Function

public class Or
extends java.lang.Object
implements Function

Implements a boolean Or function. This function takes at least one Boolean parameter and returns a Boolean. It implements a lazy semantics (returns true at the first true parameter).


Constructor Summary
Or()
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object... params)
          Invocation method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Or

public Or()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object... params)
                        throws FunctionExecutionException
Description copied from interface: Function
Invocation method.

Specified by:
invoke in interface Function
Parameters:
params - the parameter.
Returns:
the result of the function.
Throws:
FunctionExecutionException - thrown when an error occurs.


Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.