Package org.apache.solr.common.util
Class ValidatingJsonMap
- java.lang.Object
- 
- org.apache.solr.common.util.ValidatingJsonMap
 
- 
- All Implemented Interfaces:
- Map<String,Object>,- NavigableObject
 
 public class ValidatingJsonMap extends Object implements Map<String,Object>, NavigableObject 
- 
- 
Field SummaryFields Modifier and Type Field Description static ValidatingJsonMapEMPTYstatic ValidatingJsonMap.PredicateWithErrMsg<Pair>ENUM_OFstatic ValidatingJsonMap.PredicateWithErrMsg<Object>NOT_NULL
 - 
Constructor SummaryConstructors Constructor Description ValidatingJsonMap()ValidatingJsonMap(int i)ValidatingJsonMap(Map<String,Object> delegate)
 - 
Method Summary- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
 - 
Methods inherited from interface org.apache.solr.common.NavigableObject_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
 
- 
 
- 
- 
- 
Field Detail- 
NOT_NULLpublic static final ValidatingJsonMap.PredicateWithErrMsg<Object> NOT_NULL 
 - 
ENUM_OFpublic static final ValidatingJsonMap.PredicateWithErrMsg<Pair> ENUM_OF 
 - 
EMPTYpublic static final ValidatingJsonMap EMPTY 
 
- 
 - 
Method Detail- 
containsKeypublic boolean containsKey(Object key) - Specified by:
- containsKeyin interface- Map<String,Object>
 
 - 
containsValuepublic boolean containsValue(Object value) - Specified by:
- containsValuein interface- Map<String,Object>
 
 - 
getpublic Object get(String key, ValidatingJsonMap.PredicateWithErrMsg predicate) 
 - 
getMappublic ValidatingJsonMap getMap(String key) 
 - 
getMappublic ValidatingJsonMap getMap(String key, ValidatingJsonMap.PredicateWithErrMsg predicate) 
 - 
getMappublic ValidatingJsonMap getMap(String key, ValidatingJsonMap.PredicateWithErrMsg predicate, String message) 
 - 
getListpublic List getList(String key, ValidatingJsonMap.PredicateWithErrMsg predicate) 
 - 
getListpublic List getList(String key, ValidatingJsonMap.PredicateWithErrMsg predicate, Object test) 
 - 
getpublic Object get(String key, ValidatingJsonMap.PredicateWithErrMsg<Pair> predicate, Object arg) 
 - 
fromJSONpublic static ValidatingJsonMap fromJSON(InputStream is, String includeLocation) 
 - 
fromJSONpublic static ValidatingJsonMap fromJSON(Reader s, String includeLocation) 
 - 
getDeepCopypublic static ValidatingJsonMap getDeepCopy(Map map, int maxDepth, boolean mutable) 
 - 
getDeepCopypublic static Collection getDeepCopy(Collection c, int maxDepth, boolean mutable) 
 - 
parsepublic static ValidatingJsonMap parse(String resourceName, String includeLocation) 
 - 
equalspublic boolean equals(Object that) 
 
- 
 
-