Package org.apache.commons.jexl3
Interface JexlArithmetic.MapBuilder
- Enclosing class:
- JexlArithmetic
public static interface JexlArithmetic.MapBuilder
Helper interface used when creating a map literal.
The default implementation creates a java.util.HashMap.
-
Method Summary
-
Method Details
-
create
Creates the actual "map" instance.- Returns:
- the map
-
put
Adds a new entry to the map.- Parameters:
key
- the map entry keyvalue
- the map entry value
-