- org.apache.groovy.util.Closures.FunctionClosure
-
- All Implemented Interfaces and Traits:
- Function
public static class Closures.FunctionClosure<T, R>
extends Closure
implements Function
Hybrid one-argument function that is both a Closure and a
Function.
- Since:
- 6.0.0
-
-
Methods Summary
Methods
| Type Params |
Return Type |
Name and description |
|
public R |
apply(T t)
|
|
public R |
call(Object arg)
|
|
public R |
call(Object args)
|
-
Inherited Methods Summary
Inherited Methods
| Methods inherited from class |
Name |
class Closure |
andThen, andThenSelf, andThenSelf, asWritable, call, call, call, checkForReferenceCycle, clone, compose, composeSelf, composeSelf, 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 |
class GroovyObjectSupport |
getMetaClass, setMetaClass |
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.