|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport groovy.lang.Closure groovyx.gpars.pa.SumClosure
public final class SumClosure
Represents a {a, b -> a + b} closure
Field Summary | |
---|---|
private static SumClosure |
ourInstance
|
private static long |
serialVersionUID
|
Fields inherited from class groovy.lang.Closure |
---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF |
Constructor Summary | |
---|---|
private |
SumClosure()
|
Method Summary | |
---|---|
java.lang.Object |
call(java.lang.Object[] args)
|
static SumClosure |
getInstance()
|
Methods inherited from class groovy.lang.Closure |
---|
asWritable, call, call, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline |
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 |
Field Detail |
---|
private static final long serialVersionUID
private static final SumClosure ourInstance
Constructor Detail |
---|
private SumClosure()
Method Detail |
---|
public static SumClosure getInstance()
public java.lang.Object call(java.lang.Object[] args)
call
in class groovy.lang.Closure
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |