public final class NodeList extends ArrayList<Node>
CopyOnWriteArrayList for Node that has special serialization semantics
of not serializing EphemeralNodes.| Modifier and Type | Class and Description |
|---|---|
static class |
NodeList.ConverterImpl
Converter implementation for XStream. |
modCount| Constructor and Description |
|---|
NodeList() |
NodeList(Collection<? extends Node> c) |
NodeList(Node... toCopyIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Node element) |
boolean |
add(Node node) |
boolean |
addAll(Collection<? extends Node> c) |
boolean |
addAll(int index,
Collection<? extends Node> c) |
void |
clear() |
Node |
getNode(String nodeName) |
Node |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
retainAll(Collection<?> c) |
Node |
set(int index,
Node element) |
clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic NodeList()
public NodeList(Collection<? extends Node> c)
public NodeList(Node... toCopyIn)
@CheckForNull public Node getNode(String nodeName)
public void add(int index,
Node element)
public Node remove(int index)
public boolean remove(Object o)
public void clear()
public boolean addAll(Collection<? extends Node> c)
public boolean addAll(int index,
Collection<? extends Node> c)
protected void removeRange(int fromIndex,
int toIndex)
removeRange in class ArrayList<Node>public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public boolean add(Node node)
Copyright © 2019. All rights reserved.