public class MapBuilder extends Object implements JexlArithmetic.MapBuilder
| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,Object> |
map
The map being created.
|
| Constructor and Description |
|---|
MapBuilder(int size)
Creates a new builder.
|
public MapBuilder(int size)
size - the expected map sizepublic void put(Object key, Object value)
JexlArithmetic.MapBuilderput in interface JexlArithmetic.MapBuilderkey - the map entry keyvalue - the map entry valuepublic Object create()
JexlArithmetic.MapBuildercreate in interface JexlArithmetic.MapBuilderCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.