2005/5/9

     
 

class LinkedListIterator

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

acdk::util::LinkedListIterator Class Reference

#include <LinkedList.h>

Inheritance diagram for acdk::util::LinkedListIterator:

acdk::lang::Object acdk::util::ListIterator acdk::util::Iterator 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

 LinkedListIterator (IN(RLinkedList) list, IN(RLinkedListEntry) entry, int index, int size, int modCount)
virtual int nextIndex ()
virtual int previousIndex ()
virtual bool hasNext ()
virtual bool hasPrevious ()
virtual acdk::lang::Object next ()
virtual acdk::lang::Object element ()
virtual acdk::lang::Object previous ()
virtual void remove ()
 remove current element from the iterator.

virtual void add (IN(acdk::lang::Object) o)
virtual void set (IN(acdk::lang::Object) o)

Private Member Functions

void _checkMod ()

Private Attributes

int _position
int _size
RLinkedListEntry _next
RLinkedListEntry _previous
RLinkedListEntry _recent
RLinkedList _list
int _knownMod


Constructor & Destructor Documentation

acdk::util::LinkedListIterator::LinkedListIterator IN(RLinkedList list,
IN(RLinkedListEntry entry,
int  index,
int  size,
int  modCount
[inline]
 


Member Function Documentation

void acdk::util::LinkedListIterator::_checkMod  )  [inline, private]
 

virtual void acdk::util::LinkedListIterator::add IN(acdk::lang::Object o  )  [virtual]
 

Implements acdk::util::ListIterator.

virtual acdk::lang::Object acdk::util::LinkedListIterator::element  )  [virtual]
 

Implements acdk::util::Iterator.

virtual bool acdk::util::LinkedListIterator::hasNext  )  [inline, virtual]
 

Implements acdk::util::Iterator.

virtual bool acdk::util::LinkedListIterator::hasPrevious  )  [inline, virtual]
 

Implements acdk::util::ListIterator.

virtual acdk::lang::Object acdk::util::LinkedListIterator::next  )  [virtual]
 

Implements acdk::util::Iterator.

virtual int acdk::util::LinkedListIterator::nextIndex  )  [inline, virtual]
 

Implements acdk::util::ListIterator.

virtual acdk::lang::Object acdk::util::LinkedListIterator::previous  )  [virtual]
 

Implements acdk::util::ListIterator.

virtual int acdk::util::LinkedListIterator::previousIndex  )  [inline, virtual]
 

Implements acdk::util::ListIterator.

virtual void acdk::util::LinkedListIterator::remove  )  [virtual]
 

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::Iterator.

virtual void acdk::util::LinkedListIterator::set IN(acdk::lang::Object o  )  [virtual]
 

Implements acdk::util::ListIterator.


Member Data Documentation

int acdk::util::LinkedListIterator::_knownMod [private]
 

RLinkedList acdk::util::LinkedListIterator::_list [private]
 

RLinkedListEntry acdk::util::LinkedListIterator::_next [private]
 

int acdk::util::LinkedListIterator::_position [private]
 

RLinkedListEntry acdk::util::LinkedListIterator::_previous [private]
 

RLinkedListEntry acdk::util::LinkedListIterator::_recent [private]
 

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