Package: org.apache.groovy.json.internal

## [Java] Class MapItemValue

- org.apache.groovy.json.internal.MapItemValue

- All Implemented Interfaces and Traits:
    MapEntry

      public class MapItemValue
      extends Object
      implements MapEntry

  This holds a mapping from value key to value value to maximize laziness.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected static ConcurrentHashMap<String, String>` | `internedKeysCache` | Shared cache for optional key interning.

  - ### Constructor Summary

    Constructors
    Constructor and description
    `MapItemValue(Value name, Value value)` Creates a lazily decoded entry pair.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public String` | `getKey()`
    `` | `public Value` | `getValue()`
    `` | `public Value` | `setValue(Value value)` Unsupported for parser-created entries.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### protected static final ConcurrentHashMap<String, String> internedKeysCache

      Shared cache for optional key interning.

  - ### Constructor Detail

    - #### public MapItemValue(Value name, Value value)

      Creates a lazily decoded entry pair.

      Parameters:
        `name` - key token
        `value` - value token

  - ### Method Detail

    - #### public String getKey()

    - #### public Value getValue()

    - #### public Value setValue(Value value)

      Unsupported for parser-created entries.

      Parameters:
        `value` - replacement value
      Returns:
        never returns normally