API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. AbstractSequentialList View Source
Author(s)
Josh Bloch
Neal Gafter
Since
1.2
Version
1.36, 04/21/06
Serial
Hierarchy
 Object
      AbstractCollection
          AbstractList
              AbstractSequentialList
Implements
Subclasses
Description
publicabstract abstract class AbstractSequentialList
  This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).
Constructors
protected AbstractSequentialList ()
  Sole constructor.
Methods
Hide/Show inherited methods
public boolean add ( E e) [Inherited From AbstractList]
  Appends the specified element to the end of this list (optional operation).
public void add (int index, E element) [Overrides AbstractList]
  Inserts the specified element at the specified position in this list (optional operation).
public boolean addAll (Collection<Object> c) [Inherited From AbstractCollection]
  Adds all of the elements in the specified collection to this collection (optional operation).
public boolean addAll (int index, Collection<Object> c) [Overrides AbstractList]
  Inserts all of the elements in the specified collection into this list at the specified position (optional operation).
public void clear () [Inherited From AbstractList]
  Removes all of the elements from this list (optional operation).
public boolean contains (Object o) [Inherited From AbstractCollection]
  Returns true if this collection contains the specified element.
public boolean containsAll (Collection<Object> c) [Inherited From AbstractCollection]
  Returns true if this collection contains all of the elements in the specified collection.
public boolean equals (Object o) [Inherited From AbstractList]
  Compares the specified object with this list for equality.
public E get (int index) [Specified in AbstractList]
  Returns the element at the specified position in this list.
public int hashCode () [Inherited From AbstractList]
  Returns the hash code value for this list.
public int indexOf (Object o) [Inherited From AbstractList]
  Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
public boolean isEmpty () [Inherited From AbstractCollection]
  Returns true if this collection contains no elements.
public Iterator< E> iterator () [Overrides AbstractList] [Specified in AbstractCollection]
  Returns an iterator over the elements in this list (in proper sequence).
public int lastIndexOf (Object o) [Inherited From AbstractList]
  Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
public ListIterator< E> listIterator () [Inherited From AbstractList]
  Returns a list iterator over the elements in this list (in proper sequence).
publicabstract ListIterator< E> listIterator (int index) [Overrides AbstractList]
  Returns a list iterator over the elements in this list (in proper sequence).
public E remove (int index) [Overrides AbstractList]
  Removes the element at the specified position in this list (optional operation).
public boolean remove (Object o) [Inherited From AbstractCollection]
  Removes a single instance of the specified element from this collection, if it is present (optional operation).
public boolean removeAll (Collection<Object> c) [Inherited From AbstractCollection]
  Removes all of this collection's elements that are also contained in the specified collection (optional operation).
protected void removeRange (int fromIndex, int toIndex) [Inherited From AbstractList]
  Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
public boolean retainAll (Collection<Object> c) [Inherited From AbstractCollection]
  Retains only the elements in this collection that are contained in the specified collection (optional operation).
public E set (int index, E element) [Overrides AbstractList]
  Replaces the element at the specified position in this list with the specified element (optional operation).
publicabstract int size () [Inherited From AbstractCollection]
public List< E> subList (int fromIndex, int toIndex) [Inherited From AbstractList]
  Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
public Object toArray () [Inherited From AbstractCollection]
  Returns an array containing all of the elements in this collection.
public T toArray ( T a) [Inherited From AbstractCollection]
  Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
public String toString () [Inherited From AbstractCollection]
  Returns a string representation of this collection.
Fields
Hide/Show inherited fields
protectedtransient int modCount [Inherited From AbstractList]
  The number of times this list has been structurally modified.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar