All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.predicates.BindSecondPredicate

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

public final class BindSecondPredicate
extends Object
implements UnaryPredicate
BindSecondPredicate is a unary predicate object that allows you to apply a binary predicate to an operand and a predefined value. The reason that it's called BindSecondPredicate is that the predefined value is always used as the 2nd parameter to the binary predicate.

See Also:
BindSecond, BindFirstPredicate

Constructor Index

 o BindSecondPredicate(BinaryPredicate, Object)
Construct myself with a binary predicate object and a predefined value.

Method Index

 o execute(Object)
Perform my binary predicate on the operand using the operand as the 1st parameter and the predefined value as the 2nd parameter.

Constructors

 o BindSecondPredicate
 public BindSecondPredicate(BinaryPredicate predicate,
                            Object value)
Construct myself with a binary predicate object and a predefined value.

Parameters:
predicate - The binary predicate object.
value - The object to use as the 2nd parameter.

Methods

 o execute
 public boolean execute(Object object)
Perform my binary predicate on the operand using the operand as the 1st parameter and the predefined value as the 2nd parameter.

Parameters:
object - The operand.
Returns:
predicate( value, object )

All Packages  Class Hierarchy  This Package  Previous  Next  Index