public class MapCreator extends Object implements groovy.lang.GroovyObject
Modifier and Type | Class and Description |
---|---|
static class |
MapCreator.ArgsAndValue |
static class |
MapCreator.CollisionStrategy |
Constructor and Description |
---|
MapCreator() |
Modifier and Type | Method and Description |
---|---|
static Map |
createMapFromObjects(MapCreator.CollisionStrategy collisionStrategy,
Object... parameters) |
static Map |
createMapFromParams(MapCreator.CollisionStrategy collisionStrategy,
String firstParam,
Object... parameters) |
static Map |
createMapFromParams(MapCreator.CollisionStrategy collisionStrategy,
String firstParam,
Object firstValue,
Object... parameters) |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public static Map createMapFromParams(MapCreator.CollisionStrategy collisionStrategy, String firstParam, Object firstValue, Object... parameters)
public static Map createMapFromParams(MapCreator.CollisionStrategy collisionStrategy, String firstParam, Object... parameters)
public static Map createMapFromObjects(MapCreator.CollisionStrategy collisionStrategy, Object... parameters)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.