Package org.assertstruct.template.node
Class ArrayNode
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<TemplateNode>,Collection<TemplateNode>,Deque<TemplateNode>,List<TemplateNode>,Queue<TemplateNode>,SequencedCollection<TemplateNode>,MatchResult,DataNode<List<Object>>,StructTemplateNode,TemplateNode
public class ArrayNode
extends LinkedList<TemplateNode>
implements StructTemplateNode, DataNode<List<Object>>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(TemplateNode node) voidprintDebug(StringBuilder out) toData()Methods inherited from class java.util.LinkedList
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, reversed, set, size, spliterator, toArray, toArrayMethods inherited from class java.util.AbstractSequentialList
iteratorMethods inherited from class java.util.AbstractList
equals, hashCode, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListMethods inherited from interface org.assertstruct.result.MatchResult
isConfigMethods inherited from interface org.assertstruct.template.StructTemplateNode
getConfig, getStartToken, isDataNode, isScalar, print, sealConfigsMethods inherited from interface org.assertstruct.template.TemplateNode
addSharedValidator, asArray, asDict, getEndToken, getKey, getMatchedTo, getToken, getValidators, hasDifference, isStruct, printEnd, printStart
-
Constructor Details
-
ArrayNode
-
-
Method Details
-
printDebug
- Specified by:
printDebugin interfaceTemplateNode- Throws:
IOException
-
add
- Specified by:
addin interfaceCollection<TemplateNode>- Specified by:
addin interfaceDeque<TemplateNode>- Specified by:
addin interfaceList<TemplateNode>- Specified by:
addin interfaceQueue<TemplateNode>- Overrides:
addin classLinkedList<TemplateNode>
-
getByKey
- Specified by:
getByKeyin interfaceStructTemplateNode
-
toData
-