Class BackedList<T extends Node>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractList<T>
java.util.ArrayList<T>
org.dom4j.tree.BackedList<T>
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess, SequencedCollection<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AbstractBranchTheAbstractBranchinstance which owns the contentThe content of the Branch which is modified if I am modifiedFields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionBackedList(AbstractBranch branch, List<Node> branchContent) BackedList(AbstractBranch branch, List<Node> branchContent, int capacity) BackedList(AbstractBranch branch, List<Node> branchContent, List<T> initialContent) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> collection) booleanaddAll(Collection<? extends T> collection) voidPerforms a local addition which is not forward through to the Branch or backing listvoidclear()remove(int index) booleanMethods inherited from class ArrayList
addFirst, addLast, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Field Details
-
branchContent
-
branch
TheAbstractBranchinstance which owns the content
-
-
Constructor Details
-
BackedList
-
BackedList
-
BackedList
-
-
Method Details
-
add
-
add
-
set
-
remove
-
remove
-
addAll
-
addAll
-
clear
-
addLocal
Performs a local addition which is not forward through to the Branch or backing list- Parameters:
node- DOCUMENT ME!
-