All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.BinaryComposePredicate

java.lang.Object
   |
   +----COM.objectspace.jgl.BinaryComposePredicate

public final class BinaryComposePredicate
extends Object
implements BinaryPredicate
BinaryComposePredicate is a binary predicate object that returns the result of executing three operations in a specific sequence.

Version:
2.0.2
Author:
ObjectSpace, Inc.
See Also:
UnaryComposePredicate

Constructor Index

 o BinaryComposePredicate(BinaryPredicate, UnaryFunction, UnaryFunction)
Construct myself with a single binary predicate object and two unary function objects.

Method Index

 o execute(Object, Object)
Perform my unary functions on each operand and then return the result of applying my binary predicate object to these results.

Constructors

 o BinaryComposePredicate
 public BinaryComposePredicate(BinaryPredicate predicate,
                               UnaryFunction function1,
                               UnaryFunction function2)
Construct myself with a single binary predicate object and two unary function objects.

Parameters:
predicate - The single binary predicate object.
function1 - The first unary function object.
function2 - The second unary function object.

Methods

 o execute
 public boolean execute(Object first,
                        Object second)
Perform my unary functions on each operand and then return the result of applying my binary predicate object to these results.

Parameters:
first - The first operand.
second - The second operand.
Returns:
predicate( function1( first ), function2( second ) )

All Packages  Class Hierarchy  This Package  Previous  Next  Index