|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.ArrayList blackboard.base.SharableArrayList
public class SharableArrayList
This class will eventually be a copy of array list to provide for ultra
shallow cloning and copy-on-modify. It will be implemented like StringBuffer
, with a shared flag that indicates whether or not
another instance is sharing a reference to the same underlying data structure.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
SharableArrayList()
|
Method Summary | |
---|---|
java.lang.String |
debug()
Prints ArrayList elements for debugging. |
SharableArrayList |
getSubList(ListFilter filter)
Returns a sublist containing all elements meet the given filter's requirements. |
void |
trimList(ListFilter filter)
|
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public SharableArrayList()
Method Detail |
---|
public java.lang.String debug()
public SharableArrayList getSubList(ListFilter filter)
public void trimList(ListFilter filter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |