Package org.apache.solr.common.util
Class ValidatingJsonMap
java.lang.Object
org.apache.solr.common.util.ValidatingJsonMap
- All Implemented Interfaces:
Map<String,,Object> NavigableObject
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ValidatingJsonMapstatic final ValidatingJsonMap.PredicateWithErrMsg<Pair> static final ValidatingJsonMap.PredicateWithErrMsg<Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanstatic ValidatingJsonMapfromJSON(InputStream is, String includeLocation) static ValidatingJsonMapget(String key, ValidatingJsonMap.PredicateWithErrMsg predicate) get(String key, ValidatingJsonMap.PredicateWithErrMsg<Pair> predicate, Object arg) static CollectiongetDeepCopy(Collection c, int maxDepth, boolean mutable) static ValidatingJsonMapgetDeepCopy(Map map, int maxDepth, boolean mutable) getList(String key, ValidatingJsonMap.PredicateWithErrMsg predicate) getList(String key, ValidatingJsonMap.PredicateWithErrMsg predicate, Object test) getMap(String key, ValidatingJsonMap.PredicateWithErrMsg predicate) getMap(String key, ValidatingJsonMap.PredicateWithErrMsg predicate, String message) inthashCode()booleanisEmpty()keySet()static ValidatingJsonMapvoidintsize()values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Field Details
-
NOT_NULL
-
ENUM_OF
-
EMPTY
-
-
Constructor Details
-
ValidatingJsonMap
-
ValidatingJsonMap
public ValidatingJsonMap(int i) -
ValidatingJsonMap
public ValidatingJsonMap()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
get
-
getBool
-
getInt
-
getMap
-
getMap
-
getMap
public ValidatingJsonMap getMap(String key, ValidatingJsonMap.PredicateWithErrMsg predicate, String message) -
getList
-
getList
-
get
-
get
-
fromJSON
-
fromJSON
-
getDeepCopy
-
getDeepCopy
-
parse
-
equals
-
hashCode
public int hashCode()
-