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.
modCount
Constructor and Description |
---|
BackedList(AbstractBranch branch,
List branchContent) |
BackedList(AbstractBranch branch,
List branchContent,
int capacity) |
BackedList(AbstractBranch branch,
List branchContent,
List initialContent) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object object) |
boolean |
add(Object object) |
boolean |
addAll(Collection collection) |
boolean |
addAll(int index,
Collection collection) |
void |
addLocal(Object object)
Performs a local addition which is not forward through to the Branch or
backing list
|
protected Node |
asNode(Object object) |
void |
clear() |
Object |
remove(int index) |
boolean |
remove(Object object) |
Object |
set(int index,
Object object) |
clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeRange, retainAll, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public BackedList(AbstractBranch branch, List branchContent)
public BackedList(AbstractBranch branch, List branchContent, int capacity)
public BackedList(AbstractBranch branch, List branchContent, List initialContent)
public boolean add(Object object)
public void add(int index, Object object)
public boolean remove(Object object)
public Object remove(int index)
public boolean addAll(Collection collection)
public boolean addAll(int index, Collection collection)
public void clear()
public void addLocal(Object object)
object
- DOCUMENT ME!Copyright © 2012 JBoss by Red Hat. All Rights Reserved.