| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private Node |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <R, A> R | accept(final GenericVisitor<R, A>
the visitor implementation v, final A the argument passed to the visitor (of type A) arg)Implements com. |
| public <A> void | accept(final VoidVisitor<A>
the visitor implementation v, final A any value relevant for the visitor (of type A) arg)Implements com. |
| public boolean | add(N
element to be appended to this list node)Implements java. |
| public void | add(int
index at which the specified element is to be inserted index, N element to be inserted node)Implements java. |
| public NodeList | |
| public void | |
| public boolean | addAll(Collection<? extends N>
collection containing elements to be added to this list c)Implements java. |
| public boolean | addAll(int
index at which to insert the first element from the
specified collection index, Collection<? extends N> collection containing elements to be added to this list c)Implements java. |
| public NodeList | |
| public NodeList | addFirst(N
the element to be added node)Overrides default java. |
| public NodeList | addLast(N
the element to be added. node)Overrides default java. |
| public void | clear()
Implements java. |
| public boolean | |
| public boolean | contains(Object
element whose presence in this list is to be tested o)Implements java. true if this list contains the specified element.
|
| public boolean | containsAll(Collection<?>
collection to be checked for containment in this list c)Implements java. true if this list contains all of the elements of the
specified collection.
|
| public boolean | equals(Object
the object to be compared for equality with this list o)Overrides java. Implements java. |
| public void | forEach(Consumer<? super N>
The action to be performed for each element action)Overrides default java. Iterable
until all elements have been processed or the action throws an
exception.
|
| public N | get(int
index of the element to return i)Implements java. |
| public Optional | getParentNode()
Implements com. Optional.empty if no parent is set.
|
| public Node | getParentNodeForChildren()
Implements com. |
| public int | hashCode()
Overrides java. Implements java. |
| public void | |
| public int | indexOf(Object
element to search for o)Implements java. |
| public boolean | |
| public boolean | |
| public boolean | isRegistered(AstObserver observer)
Implements com. |
| public Iterator | iterator()
Implements java. |
| public int | lastIndexOf(Object
element to search for o)Implements java. |
| public ListIterator | listIterator()
Implements java. |
| public ListIterator | listIterator(int
index of the first element to be returned from the
list iterator (by a call to index)next)Implements java. |
| public static <X extends Node> NodeList | |
| public static <X extends Node> NodeList | |
| public static <X extends Node> NodeList | |
| private void | |
| private void | |
| private void | |
| private void | |
| public Stream | parallelStream()
Overrides default java. Stream with this collection as its
source.
|
| public void | register(AstObserver observer)
Implements com. |
| public boolean | |
| public N | remove(int
the index of the element to be removed index)Implements java. |
| public boolean | remove(Object
element to be removed from this list, if present o)Implements java. |
| public boolean | removeAll(Collection<?>
collection containing elements to be removed from this list c)Implements java. |
| public N | removeFirst()
Overrides default java. |
| public boolean | removeIf(Predicate<? super N>
a predicate which returns filter)true for elements to be
removedOverrides default java. |
| public N | removeLast()
Overrides default java. |
| public boolean | Returns: true if a replacement has happened.Replaces the first node that is equal to "old" with "replacement". |
| public void | replaceAll(UnaryOperator<N>
the operator to apply to each element operator)Overrides default java. |
| public boolean | retainAll(Collection<?>
collection containing elements to be retained in this list c)Implements java. |
| public N | set(int
index of the element to replace index, N element to be stored at the specified position element)Implements java. |
| private void | |
| private void | |
| public NodeList | Returns: this, the NodeListthe parentNode parentNode)Implements com. |
| public int | |
| public void | sort(Comparator<? super N>
the comparator)Comparator used to compare list elements.
A null value indicates that the elements'
natural ordering should be usedOverrides default java. Comparator (optional operation).
|
| public Spliterator | spliterator()
Overrides default java. Spliterator over the elements in this list.
|
| public List | subList(int
low endpoint (inclusive) of the subList fromIndex, int high endpoint (exclusive) of the subList toIndex)Implements java. fromIndex, inclusive, and toIndex, exclusive.
|
| public Object[] | toArray()
Implements java. |
| public <T> T[] | toArray(T[]
the array into which the elements of this list are to
be stored, if it is big enough; otherwise, a new array of the
same runtime type is allocated for this purpose. a)Implements java. |
| public static <T extends Node> Collector | |
| public String | |
| public void | unregister(AstObserver observer)
Implements com. |