blackboard.base
Class SharableArrayList<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<E>
              extended by blackboard.base.SharableArrayList<E>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, java.util.RandomAccess
Direct Known Subclasses:
BbList

Deprecated. Since 8.0.

@Deprecated
public class SharableArrayList<E>
extends java.util.ArrayList<E>

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 StringBuilder, with a shared flag that indicates whether or not another instance is sharing a reference to the same underlying data structure.

Since:
Bb 5.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SharableArrayList()
          Deprecated.  
SharableArrayList(java.util.Collection<? extends E> c)
          Deprecated. Constructs a new list based on a shallow copy of the incoming collection
 
Method Summary
 java.lang.String debug()
          Deprecated. Prints ArrayList elements for debugging.
 SharableArrayList<E> getSubList(ListFilter filter)
          Deprecated. Returns a sublist containing all elements meet the given filter's requirements.
 
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

SharableArrayList

public SharableArrayList()
Deprecated. 

SharableArrayList

public SharableArrayList(java.util.Collection<? extends E> c)
Deprecated. 
Constructs a new list based on a shallow copy of the incoming collection

Method Detail

debug

public java.lang.String debug()
Deprecated. 
Prints ArrayList elements for debugging.


getSubList

public SharableArrayList<E> getSubList(ListFilter filter)
Deprecated. 
Returns a sublist containing all elements meet the given filter's requirements. The sublist has the same ordering as the original list.



Copyright 2011 Blackboard, Inc. All Rights Reserved.