org.dom4j.tree
Class BackedList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.dom4j.tree.BackedList
- All Implemented Interfaces:
- Cloneable, Collection, List, RandomAccess, Serializable
- public class BackedList
- extends ArrayList
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:
- Serialized Form
Methods inherited from class java.util.ArrayList |
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, size, toArray, toArray, trimToSize |
BackedList
public BackedList(AbstractBranch branch,
List branchContent)
BackedList
public BackedList(AbstractBranch branch,
List branchContent,
int capacity)
BackedList
public BackedList(AbstractBranch branch,
List branchContent,
List initialContent)
add
public boolean add(Object object)
add
public void add(int index,
Object object)
set
public Object set(int index,
Object object)
remove
public boolean remove(Object object)
remove
public Object remove(int index)
addAll
public boolean addAll(Collection collection)
addAll
public boolean addAll(int index,
Collection collection)
clear
public void clear()
addLocal
public void addLocal(Object object)
- Performs a local addition which is not forward through to the Branch or
backing list
- Parameters:
object
- DOCUMENT ME!
asNode
protected Node asNode(Object object)
Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved.