All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.BindSecond

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

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

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

Constructor Index

 o BindSecond(BinaryFunction, Object)
Construct myself with a binary function object and a predefined value.

Method Index

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

Constructors

 o BindSecond
 public BindSecond(BinaryFunction function,
                   Object value)
Construct myself with a binary function object and a predefined value.

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

Methods

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

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index