public class ContentMap
extends java.util.HashMap<java.lang.String,java.lang.Object>
Constructor and Description |
---|
ContentMap() |
ContentMap(java.util.Map<java.lang.String,java.lang.Object> map) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAs(java.lang.String key,
java.lang.Class<T> c) |
<T> java.util.Collection<T> |
getAsCollectionOf(java.lang.String key,
java.lang.Class<T> c) |
ContentMap |
getAsMap(java.lang.String key) |
ContentMap |
getAsMapOrDefault(java.lang.String key,
ContentMap contentMap) |
<T> T |
getAsOrDefault(java.lang.String key,
T def) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public ContentMap()
public ContentMap(java.util.Map<java.lang.String,java.lang.Object> map)
public <T> T getAs(java.lang.String key, java.lang.Class<T> c)
public <T> T getAsOrDefault(java.lang.String key, T def)
public ContentMap getAsMap(java.lang.String key)
public ContentMap getAsMapOrDefault(java.lang.String key, ContentMap contentMap)
public <T> java.util.Collection<T> getAsCollectionOf(java.lang.String key, java.lang.Class<T> c)