org.codehaus.groovy.runtime
Class CurriedClosure

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by org.codehaus.groovy.runtime.CurriedClosure
All Implemented Interfaces:
GroovyObject, Cloneable, Runnable

public class CurriedClosure
extends Closure

Represents wrapper around a Closure to support currying

Author:
Jochen Theodorou

Field Summary
 
Fields inherited from class groovy.lang.Closure
DONE, maximumNumberOfParameters, SKIP
 
Constructor Summary
CurriedClosure(Closure uncurriedClosure, Object[] arguments)
           
 
Method Summary
 Object[] getUncurriedArguments(Object[] arguments)
           
 
Methods inherited from class groovy.lang.Closure
asWritable, call, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getThisObject, isCase, run, setDelegate, setDirective, setProperty, throwRuntimeException
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurriedClosure

public CurriedClosure(Closure uncurriedClosure,
                      Object[] arguments)
Method Detail

getUncurriedArguments

public Object[] getUncurriedArguments(Object[] arguments)


Copyright © 2003-2009 The Codehaus. All Rights Reserved.