Package org.dom4j.tree
Class BackedList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.dom4j.tree.BackedList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable,Collection,List,RandomAccess
BackedList represents a list of content of a Branch. Changes to the list will be reflected in the branch,
though changes to the branch will not be reflected in this list.
- Version:
- $Revision: 1.14 $
- Author:
- James Strachan
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionBackedList(AbstractBranch branch, List branchContent) BackedList(AbstractBranch branch, List branchContent, int capacity) BackedList(AbstractBranch branch, List branchContent, List initialContent) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection collection) booleanaddAll(Collection collection) voidPerforms a local addition which is not forward through to the Branch or backing listprotected Nodevoidclear()remove(int index) booleanMethods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
BackedList
-
BackedList
-
BackedList
-
-
Method Details
-
add
-
add
-
set
-
remove
-
remove
-
addAll
-
addAll
-
clear
public void clear() -
addLocal
Performs a local addition which is not forward through to the Branch or backing list- Parameters:
object- DOCUMENT ME!
-
asNode
-