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>
- 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.JsonList, 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 Default Methods Modifier and Type Method Description default void___do_not_implement_this_interface_seriously()default Iterator<Node>arrayElements()default BooleanasBoolean()default StringasText()default BigDecimaldecimalValue()default Nodeelement(int index)default Iterator<Node.KeyValue>fields()default Nodeget(String key)default Node.NodeTypegetNodeType()default ObjectgetValue()NodegetWrappedNode()default booleanisMissingNode()default booleanisNull()default intsize()Array lengthStringtoString()-
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>
-
getWrappedNode
public Node getWrappedNode()
-
fields
public default Iterator<Node.KeyValue> fields()
-
isMissingNode
public default boolean isMissingNode()
- Specified by:
isMissingNodein interfaceNode
-
arrayElements
public default Iterator<Node> arrayElements()
- Specified by:
arrayElementsin interfaceNode
-
size
public default int size()
Description copied from interface:NodeArray length
-
getNodeType
public default Node.NodeType getNodeType()
- Specified by:
getNodeTypein interfaceNode
-
decimalValue
public default BigDecimal decimalValue()
- Specified by:
decimalValuein interfaceNode
-
___do_not_implement_this_interface_seriously
public default void ___do_not_implement_this_interface_seriously()
- Specified by:
___do_not_implement_this_interface_seriouslyin interfaceNode
-
-