All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.objectspace.jgl.BinaryFunction

public interface interface BinaryFunction
extends Serializable
BinaryFunction is the interface that must be implemented by all binary function objects. Every BinaryFunction object must define a single method called execute() that takes two objects as its arguments and returns an object. BinaryFunction objects are often built to operate on a specific kind of argument and must therefore cast the input parameters in order to process them.

Version:
2.0.2
Author:
ObjectSpace, Inc.
See Also:
UnaryPredicate, BinaryPredicate, UnaryFunction

Method Index

 o execute(Object, Object)
Return the result of executing with two Object arguments.

Methods

 o execute
 public abstract Object execute(Object first,
                                Object second)
Return the result of executing with two Object arguments.

Parameters:
first - The first object operand.
second - The second object operand.
Returns:
The result of processing the input parameters.

All Packages  Class Hierarchy  This Package  Previous  Next  Index