net.sf.arise.piji
Class CLLambda

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

public class CLLambda
extends LambdaWrapper


Constructor Summary
CLLambda(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 CLLambda 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

CLLambda

public CLLambda(Lambda lambda)
Method Detail

create

public static CLLambda 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