Class Node.JsonMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,Object>
-
- net.javacrumbs.jsonunit.core.internal.Node.JsonMap
-
- Enclosing interface:
- Node
public static class Node.JsonMap extends LinkedHashMap<String,Object> implements Node
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface net.javacrumbs.jsonunit.core.internal.Node
Node.JsonMap, Node.KeyValue, Node.NodeType, Node.ValueExtractor
-
-
Field Summary
-
Fields inherited from interface net.javacrumbs.jsonunit.core.internal.Node
MISSING_NODE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void___do_not_implement_this_interface_seriously()Iterator<Node>arrayElements()BooleanasBoolean()StringasText()BigDecimaldecimalValue()Nodeelement(int index)Iterator<Node.KeyValue>fields()Nodeget(String key)Node.NodeTypegetNodeType()ObjectgetValue()booleanisMissingNode()booleanisNull()StringtoString()-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractMap<String,Object>
-
fields
public Iterator<Node.KeyValue> fields()
-
isMissingNode
public boolean isMissingNode()
- Specified by:
isMissingNodein interfaceNode
-
arrayElements
public Iterator<Node> arrayElements()
- Specified by:
arrayElementsin interfaceNode
-
getNodeType
public Node.NodeType getNodeType()
- Specified by:
getNodeTypein interfaceNode
-
decimalValue
public BigDecimal decimalValue()
- Specified by:
decimalValuein interfaceNode
-
___do_not_implement_this_interface_seriously
public void ___do_not_implement_this_interface_seriously()
- Specified by:
___do_not_implement_this_interface_seriouslyin interfaceNode
-
-