java.util
Class AbstractSequentialList

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.AbstractSequentialList
All Implemented Interfaces:
Collection, List
Direct Known Subclasses:
LinkedList

public abstract synchronized class AbstractSequentialList
extends AbstractList


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

get

public Object get(int)
Specified by:
get in interface List
Specified by:
get in class AbstractList

set

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

add

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

remove

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

addAll

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

iterator

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

listIterator

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