artefaktur
software engineer &        architecture

 
 
 
 

class AbstractList

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::AbstractList Class Reference

#include <AbstractList.h>

Inheritance diagram for acdk::util::AbstractList:

acdk::util::AbstractCollection acdk::util::List acdk::lang::Object acdk::util::Collection acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::util::AbstractListSubList acdk::util::AbstractSequentialList acdk::util::ArrayList acdk::util::Vector acdk::util::LinkedList acdk::util::SubLinkedList List of all members.

Detailed Description

API: Java<br/>.

Author:
of the original Classpath implementation Stuart Ballard (stuart.ballard@mcmail.com) Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.

Roger Rene Kommer (mailto:kommer@artefaktur.com)

Version:
Revision
1.21
Date:
Date
2005/04/09 19:26:56


Public Member Functions

virtual ~AbstractList ()
virtual acdk::lang::Object get (int index)=0
virtual void add (int index, IN(acdk::lang::Object) o)
virtual bool add (IN(acdk::lang::Object) o)
 reimplemented from Collection

virtual bool addAll (int index, IN(RCollection) c)
virtual void clear ()
 reimplemented from Collection

virtual bool equals (IN(acdk::lang::Object) o)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

virtual int hashCode ()
virtual int indexOf (IN(acdk::lang::Object) o)
virtual RIterator iterator ()
 reimplemented from Collection

virtual int lastIndexOf (IN(acdk::lang::Object) o)
virtual RListIterator listIterator (int index=0)
virtual acdk::lang::Object remove (int index)
virtual acdk::lang::Object set (int index, IN(acdk::lang::Object) o)
virtual int size ()
virtual RList subList (int fromIndex, int toIndex)
virtual bool isEmpty ()
 reimplemented from Collection

virtual bool contains (IN(acdk::lang::Object) obj)
 reimplemented from Collection

virtual bool containsAll (IN(RCollection) c)
 reimplemented from Collection

virtual bool remove (IN(acdk::lang::Object) obj)
 reimplemented from Collection

virtual bool removeAll (IN(RCollection) c)
 reimplemented from Collection

virtual bool addAll (IN(RCollection) c)
 reimplemented from Collection

virtual bool retainAll (IN(RCollection) c)
 reimplemented from Collection

virtual RObjectArray toArray ()
 reimplemented from Collection

virtual RObjectArray toArray (IN(RObjectArray) a)
 reimplemented from Collection

virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default


Protected Member Functions

 AbstractList ()
virtual void removeRange (int fromIndex, int toIndex)

Protected Attributes

int _modCount

Friends

class AbstractListIterator
class AbstractListListIterator
class AbstractListSubList

Constructor & Destructor Documentation

acdk::util::AbstractList::AbstractList  )  [inline, protected]
 

virtual acdk::util::AbstractList::~AbstractList  )  [inline, virtual]
 


Member Function Documentation

virtual bool acdk::util::AbstractList::add IN(acdk::lang::Object o  )  [virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual void acdk::util::AbstractList::add int  index,
IN(acdk::lang::Object o
[virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::AbstractListSubList, acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::addAll IN(RCollection c  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::addAll int  index,
IN(RCollection c
[virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::AbstractListSubList, acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual void acdk::util::AbstractList::clear  )  [virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, acdk::util::LinkedList, acdk::util::SubLinkedList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::contains IN(acdk::lang::Object obj  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::containsAll IN(RCollection c  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::equals IN(acdk::lang::Object o  )  [virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Implements acdk::util::AbstractCollection.

virtual acdk::lang::Object acdk::util::AbstractList::get int  index  )  [pure virtual]
 

Implements acdk::util::List.

Implemented in acdk::util::AbstractListSubList, acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual int acdk::util::AbstractList::hashCode  )  [virtual]
 

See also:
serialized_hashCode

Implements acdk::util::AbstractCollection.

virtual int acdk::util::AbstractList::indexOf IN(acdk::lang::Object o  )  [virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::isEmpty  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual RIterator acdk::util::AbstractList::iterator  )  [virtual]
 

reimplemented from Collection

Implements acdk::util::AbstractCollection.

Reimplemented in acdk::util::AbstractSequentialList.

virtual int acdk::util::AbstractList::lastIndexOf IN(acdk::lang::Object o  )  [virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual RListIterator acdk::util::AbstractList::listIterator int  index = 0  )  [virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::AbstractListSubList, acdk::util::AbstractSequentialList, acdk::util::ArrayList, acdk::util::LinkedList, and acdk::util::SubLinkedList.

virtual bool acdk::util::AbstractList::remove IN(acdk::lang::Object obj  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual acdk::lang::Object acdk::util::AbstractList::remove int  index  )  [virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::AbstractListSubList, acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual bool acdk::util::AbstractList::removeAll IN(RCollection c  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual void acdk::util::AbstractList::removeRange int  fromIndex,
int  toIndex
[protected, virtual]
 

Reimplemented in acdk::util::AbstractListSubList, acdk::util::ArrayList, and acdk::util::LinkedList.

virtual bool acdk::util::AbstractList::retainAll IN(RCollection c  )  [inline, virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual acdk::lang::Object acdk::util::AbstractList::set int  index,
IN(acdk::lang::Object o
[virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::AbstractListSubList, acdk::util::AbstractSequentialList, acdk::util::ArrayList, and acdk::util::Vector.

virtual int acdk::util::AbstractList::size  )  [virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::AbstractListSubList, acdk::util::ArrayList, acdk::util::LinkedList, acdk::util::SubLinkedList, and acdk::util::Vector.

virtual RList acdk::util::AbstractList::subList int  fromIndex,
int  toIndex
[virtual]
 

Implements acdk::util::List.

Reimplemented in acdk::util::LinkedList, and acdk::util::SubLinkedList.

virtual RObjectArray acdk::util::AbstractList::toArray IN(RObjectArray a  )  [virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual RObjectArray acdk::util::AbstractList::toArray  )  [virtual]
 

reimplemented from Collection

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::ArrayList, and acdk::util::Vector.

virtual RString acdk::util::AbstractList::toString  )  [inline, virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::util::AbstractCollection.

Reimplemented in acdk::util::Vector.


Friends And Related Function Documentation

friend class AbstractListIterator [friend]
 

friend class AbstractListListIterator [friend]
 

friend class AbstractListSubList [friend]
 


Member Data Documentation

int acdk::util::AbstractList::_modCount [mutable, protected]
 

Reimplemented in acdk::util::AbstractListSubList, and acdk::util::Vector.

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer