public class GroovyUtils extends Object
Support utilities for LensKit’s use of Groovy.
Modifier and Type | Method and Description |
---|---|
static <T> T |
buildObject(org.apache.commons.lang3.builder.Builder<T> builder,
Map<String,Object> args)
Build an object using named arguments.
|
static Object |
callWithDelegate(groovy.lang.Closure<?> block,
Object delegate)
Call a configuration block with a specified delegate.
|