[Java] Interface ValueMap<K, V>
- Authors:
- Richard Hightower
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
add(MapItemValue miv) | |
boolean |
hydrated() Has the map been hydrated. | |
Entry<String, Value>[] |
items() Give me the items in the map without hydrating the map. | |
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, clear, isEmpty, replace, replace, replaceAll, size, entrySet, putAll, putIfAbsent, forEach, keySet, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, getOrDefault, merge |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
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/2.4.21/html/gapi/groovy/json/internal/ValueMap.html