Class Node.JsonList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.AbstractSequentialList<E>
-
- java.util.LinkedList<Object>
-
- net.javacrumbs.jsonunit.core.internal.Node.JsonList
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Object>,Collection<Object>,Deque<Object>,List<Object>,Queue<Object>,Node
- Enclosing interface:
- Node
public static class Node.JsonList extends LinkedList<Object>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 class java.util.AbstractList
modCount
-
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 length-
Methods inherited from class java.util.LinkedList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
-
Methods inherited from class java.util.AbstractSequentialList
iterator
-
Methods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
-
-
-
-
Method Detail
-
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
-
-