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

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

public class And
extends java.lang.Object
implements Function

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


Constructor Summary
And()
           
 
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

And

public And()
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.