All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.predicates.UnaryComposePredicate

java.lang.Object
   |
   +----COM.objectspace.jgl.predicates.UnaryComposePredicate

public final class UnaryComposePredicate
extends Object
implements UnaryPredicate
UnaryCompose is a unary predicate object that returns the result of executing two operations in a specific sequence.

See Also:
UnaryComposePredicate, BinaryCompose

Constructor Index

 o UnaryComposePredicate(UnaryPredicate, UnaryFunction)
Construct myself with a unary predicate object and a unary function object.

Method Index

 o execute(Object)
Perform my unary function on the operand and then return the result of applying my predicate function object to this result.

Constructors

 o UnaryComposePredicate
 public UnaryComposePredicate(UnaryPredicate predicate,
                              UnaryFunction function)
Construct myself with a unary predicate object and a unary function object.

Parameters:
predicate - The predicate object.
function - The function object.

Methods

 o execute
 public boolean execute(Object object)
Perform my unary function on the operand and then return the result of applying my predicate function object to this result.

Parameters:
object - The operand.
Returns:
predicate( function( object ) )

All Packages  Class Hierarchy  This Package  Previous  Next  Index