net.sf.arise.piji
Class TLambda

java.lang.Object
  |
  +--net.sf.arise.piji.LambdaWrapper
        |
        +--net.sf.arise.piji.TLambda
All Implemented Interfaces:
Function

public class TLambda
extends LambdaWrapper


Constructor Summary
TLambda(Lambda lambda)
           
 
Method Summary
 java.lang.Object apply(Context context, Expression[] nodes)
          Applies the function to a set of values in a given context and returns the result
static TLambda create(Context context, Expression[] args)
           
 
Methods inherited from class net.sf.arise.piji.LambdaWrapper
apply, getArgumentCount, getContext, getDocumentationString, getLambda, isVararg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLambda

public TLambda(Lambda lambda)
Method Detail

create

public static TLambda create(Context context,
                             Expression[] args)
                      throws java.lang.Throwable
java.lang.Throwable

apply

public java.lang.Object apply(Context context,
                              Expression[] nodes)
                       throws java.lang.Throwable
Description copied from interface: Function
Applies the function to a set of values in a given context and returns the result

Parameters:
context - The context to apply this function in
Returns:
The result of the function applied to the arguments in the context
java.lang.Throwable


All code and documentation is

Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth