JexlArithmetic.MapBuilder (Apache Commons JEXL 3.6.3 API)
Description: declaration: package: org.apache.commons.jexl3, class: JexlArithmetic, interface: MapBuilder

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

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

- ## Method Details

  - ### create

    Object create()
    Creates the actual "map" instance.
    Returns:
      the map

  - ### 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