2005/5/9

     
 

class LinkedList

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

acdk::util::LinkedList Class Reference

#include <LinkedList.h>

Inheritance diagram for acdk::util::LinkedList:

acdk::util::AbstractSequentialList acdk::io::Serializable acdk::lang::Cloneable acdk::util::AbstractList acdk::util::AbstractCollection acdk::util::List acdk::lang::Object acdk::util::Collection acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: Java<br/>.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.20
Date:
Date
2005/04/09 19:26:57


Public Member Functions

 LinkedList ()
 LinkedList (IN(RCollection) coll)
virtual ~LinkedList ()
virtual acdk::lang::Object clone ()
virtual acdk::lang::Object clone (sys::Allocator *alc)
virtual acdk::lang::Object getFirst ()
virtual acdk::lang::Object getLast ()
virtual acdk::lang::Object removeFirst ()
virtual acdk::lang::Object removeLast ()
virtual void addFirst (IN(acdk::lang::Object) object)
virtual void addLast (IN(acdk::lang::Object) object)
virtual int size ()
virtual void removeRange (int fromIndex, int toIndex)
virtual void clear ()
 reimplemented from Collection

virtual RListIterator listIterator (int index=0)
virtual RList subList (int fromIndex, int toIndex)

Static Public Member Functions

acdk::lang::Object create_instance ()

Static Protected Member Functions

RLinkedListEntry getEntry (int start, int size, IN(RLinkedListEntry) head, IN(RLinkedListEntry) tail)

Private Attributes

RLinkedListEntry _tail
int _size

Friends

class LinkedListIterator
class SubLinkedList


Constructor & Destructor Documentation

acdk::util::LinkedList::LinkedList  ) 
 

acdk::util::LinkedList::LinkedList IN(RCollection coll  ) 
 

virtual acdk::util::LinkedList::~LinkedList  )  [virtual]
 


Member Function Documentation

virtual void acdk::util::LinkedList::addFirst IN(acdk::lang::Object object  )  [virtual]
 

virtual void acdk::util::LinkedList::addLast IN(acdk::lang::Object object  )  [virtual]
 

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

reimplemented from Collection

Reimplemented from acdk::util::AbstractList.

virtual acdk::lang::Object acdk::util::LinkedList::clone sys::Allocator *  alc  )  [virtual]
 

Reimplemented from acdk::lang::Cloneable.

virtual acdk::lang::Object acdk::util::LinkedList::clone  )  [inline, virtual]
 

Implements acdk::lang::Cloneable.

acdk::lang::Object acdk::util::LinkedList::create_instance  )  [inline, static]
 

Reimplemented from acdk::lang::Object.

RLinkedListEntry acdk::util::LinkedList::getEntry int  start,
int  size,
IN(RLinkedListEntry head,
IN(RLinkedListEntry tail
[static, protected]
 

virtual acdk::lang::Object acdk::util::LinkedList::getFirst  )  [inline, virtual]
 

virtual acdk::lang::Object acdk::util::LinkedList::getLast  )  [inline, virtual]
 

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

Implements acdk::util::AbstractSequentialList.

virtual acdk::lang::Object acdk::util::LinkedList::removeFirst  )  [inline, virtual]
 

virtual acdk::lang::Object acdk::util::LinkedList::removeLast  )  [inline, virtual]
 

virtual void acdk::util::LinkedList::removeRange int  fromIndex,
int  toIndex
[inline, virtual]
 

Reimplemented from acdk::util::AbstractList.

virtual int acdk::util::LinkedList::size  )  [inline, virtual]
 

Reimplemented from acdk::util::AbstractList.

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

Reimplemented from acdk::util::AbstractList.


Friends And Related Function Documentation

friend class LinkedListIterator [friend]
 

friend class SubLinkedList [friend]
 


Member Data Documentation

int acdk::util::LinkedList::_size [private]
 

RLinkedListEntry acdk::util::LinkedList::_tail [private]