Class jgl.SelectSecond
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jgl.SelectSecond

java.lang.Object
   |
   +----jgl.SelectSecond

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

See Also:
SelectFirst

Constructor Index

 o SelectSecond()

Method Index

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

Constructors

 o SelectSecond
  public SelectSecond()

Methods

 o execute
  public Object execute(Object object)
Return the second instance variable of my operand.
Parameters:
object - The operand, which must be an instance of Pair.
Returns:
object.second

All Packages  Class Hierarchy  This Package  Previous  Next  Index