public class SerializedMap extends Object implements SerializedValue, Map<SerializedValue,SerializedValue>
| Constructor and Description |
|---|
SerializedMap(Type type,
Class<?> valueType) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(SerializedValueVisitor<T> visitor) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<SerializedValue,SerializedValue>> |
entrySet() |
SerializedValue |
get(Object key) |
Type |
getMapKeyType() |
Type |
getMapValueType() |
Type |
getType() |
Class<?> |
getValueType() |
boolean |
isEmpty() |
Set<SerializedValue> |
keySet() |
SerializedValue |
put(SerializedValue key,
SerializedValue value) |
void |
putAll(Map<? extends SerializedValue,? extends SerializedValue> m) |
SerializedValue |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<SerializedValue> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Type getType()
getType in interface SerializedValuepublic Class<?> getValueType()
getValueType in interface SerializedValuepublic Type getMapKeyType()
public Type getMapValueType()
public <T> T accept(SerializedValueVisitor<T> visitor)
accept in interface SerializedValuepublic int size()
size in interface Map<SerializedValue,SerializedValue>public boolean isEmpty()
isEmpty in interface Map<SerializedValue,SerializedValue>public boolean containsKey(Object key)
containsKey in interface Map<SerializedValue,SerializedValue>public boolean containsValue(Object value)
containsValue in interface Map<SerializedValue,SerializedValue>public SerializedValue get(Object key)
get in interface Map<SerializedValue,SerializedValue>public SerializedValue put(SerializedValue key, SerializedValue value)
put in interface Map<SerializedValue,SerializedValue>public SerializedValue remove(Object key)
remove in interface Map<SerializedValue,SerializedValue>public void putAll(Map<? extends SerializedValue,? extends SerializedValue> m)
putAll in interface Map<SerializedValue,SerializedValue>public void clear()
clear in interface Map<SerializedValue,SerializedValue>public Set<SerializedValue> keySet()
keySet in interface Map<SerializedValue,SerializedValue>public Collection<SerializedValue> values()
values in interface Map<SerializedValue,SerializedValue>public Set<Map.Entry<SerializedValue,SerializedValue>> entrySet()
entrySet in interface Map<SerializedValue,SerializedValue>Copyright © 2016. All rights reserved.