[Java] Class MapItemValue
- groovy.json.internal.MapItemValue
- All Implemented Interfaces and Traits:
- Map.Entry
public class MapItemValue
This holds a mapping from value key to value value to maximize laziness.
- Authors:
- Rick Hightower
Field Summary
Modifiers | Name | Description |
---|---|---|
protected static ConcurrentHashMap<String, String> | internedKeysCache |
Constructor Summary
Constructor and description |
---|
MapItemValue
(Value name, Value value) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
String |
getKey() | |
Value |
getValue() | |
Value |
setValue(Value value) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected static ConcurrentHashMap<String, String> internedKeysCache
Constructor Detail
public MapItemValue(Value name, Value value)
Method Detail
public String getKey()
public Value getValue()
public Value setValue(Value value)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/json/internal/MapItemValue.html