[Java] Interface ValueMap<K, V>
public interface ValueMap<K, V> extends Map
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public void |
add(MapItemValue miv) | |
public boolean |
hydrated() Has the map been hydrated. | |
public Entry<String, Value>[] |
items() Give me the items in the map without hydrating the map. | |
public int |
len() Return size w/o hydrating the map. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
interface Map | remove, remove, get, put, equals, values, hashCode, copyOf, clear, isEmpty, replace, replace, replaceAll, size, merge, entrySet, putAll, entry, putIfAbsent, compute, of, of, of, of, of, of, of, of, of, of, of, forEach, containsKey, computeIfAbsent, containsValue, keySet, getOrDefault, computeIfPresent, ofEntries |
Method Detail
public void add(MapItemValue miv)
public boolean hydrated()
Has the map been hydrated.
public Entry<String, Value>[] items()
Give me the items in the map without hydrating the map. Realize that the array is likely larger than the length so array items can be null.
public int len()
Return size w/o hydrating the map.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/json/internal/ValueMap.html