Class AbstractSequentialList

  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.AbstractSequentialList
All Implemented Interfaces:
java.util.Collection, java.util.List

public abstract class AbstractSequentialList
extends java.util.AbstractSequentialList

Overrides toArray() and toArray(Object[]) in AbstractCollection to provide implementations valid for concurrent lists.

Doug Lea, Dawid Kurzyniec

Field Summary
Fields inherited from class java.util.AbstractList
Constructor Summary
protected AbstractSequentialList()
          Sole constructor.
Method Summary
 java.lang.Object[] toArray()
 java.lang.Object[] toArray(java.lang.Object[] a)
Methods inherited from class java.util.AbstractSequentialList
add, addAll, get, iterator, listIterator, remove, set
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size

Constructor Detail


protected AbstractSequentialList()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail


public java.lang.Object[] toArray()


public java.lang.Object[] toArray(java.lang.Object[] a)