All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.functions.SelectFirst

java.lang.Object
   |
   +----COM.objectspace.jgl.functions.SelectFirst

public final class SelectFirst
extends Object
implements UnaryFunction
SelectFirst is a unary function that assumes that its operand is a Pair and returns its first instance variable.

See Also:
SelectSecond

Constructor Index

 o SelectFirst()

Method Index

 o execute(Object)
Return the first instance variable of my operand.

Constructors

 o SelectFirst
 public SelectFirst()

Methods

 o execute
 public Object execute(Object object)
Return the first instance variable of my operand.

Parameters:
object - The operand, which must be an instance of Pair.
Returns:
object.first

All Packages  Class Hierarchy  This Package  Previous  Next  Index