All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.UnaryCompose

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

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

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

Constructor Index

 o UnaryCompose(UnaryFunction, UnaryFunction)
Construct myself with two unary function objects.

Method Index

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

Constructors

 o UnaryCompose
 public UnaryCompose(UnaryFunction function1,
                     UnaryFunction function2)
Construct myself with two unary function objects.

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

Methods

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

Parameters:
object - The operand.
Returns:
function1( function2( object ) )

All Packages  Class Hierarchy  This Package  Previous  Next  Index