java.util
Class AbstractSequentialList

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.AbstractSequentialList
All Implemented Interfaces:
Collection, List
Direct Known Subclasses:
LinkedList


public abstract class AbstractSequentialList
extends AbstractList


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected AbstractSequentialList()
           
 
Method Summary
 void add(int index, Object element)
           
 boolean addAll(int index, Collection c)
           
 Object get(int index)
           
 Iterator iterator()
           
abstract  ListIterator listIterator(int index)
           
 Object remove(int index)
           
 Object set(int index, Object element)
           
 
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, toArray, toArray, 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, toArray, toArray
 

Constructor Detail

AbstractSequentialList

protected AbstractSequentialList()
Method Detail

add

public void add(int index,
                Object element)
Specified by:
add in interface List
Overrides:
add in class AbstractList

addAll

public boolean addAll(int index,
                      Collection c)
Specified by:
addAll in interface List
Overrides:
addAll in class AbstractList

get

public Object get(int index)

iterator

public Iterator iterator()
Specified by:
iterator in interface Collection
Specified by:
iterator in interface List
Overrides:
iterator in class AbstractList

listIterator

public abstract ListIterator listIterator(int index)
Specified by:
listIterator in interface List
Overrides:
listIterator in class AbstractList

remove

public Object remove(int index)
Specified by:
remove in interface List
Overrides:
remove in class AbstractList

set

public Object set(int index,
                  Object element)
Specified by:
set in interface List
Overrides:
set in class AbstractList