org.apache.commons.jexl3

## Interface JexlArithmetic.MapBuilder

- All Known Implementing Classes:
    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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `create()` Creates the actual "map" instance.
    `void` | `put(Object key, Object value)` Adds a new entry to the map.

- - ### Method Detail

    - #### put

          void put(Object key,
                 Object value)

      Adds a new entry to the map.
      Parameters:
        `key` - the map entry key
        `value` - the map entry value

    - #### create

          Object create()

      Creates the actual "map" instance.
      Returns:
        the map

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.