2005/5/9

     
 

class SynchronizedIterator

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

acdk::util::SynchronizedIterator Class Reference

#include <SynchronizedCollections.h>

Inheritance diagram for acdk::util::SynchronizedIterator:

acdk::lang::Object acdk::util::Iterator acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::util::SynchronizedListIterator acdk::util::SynchronizedMapEntySetIterator List of all members.

Detailed Description

API: Java<br/>.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.21
Date:
Date
2005/04/09 19:26:57
Todo:
check which function of the Synchronized group need virtual methods


Public Member Functions

 SynchronizedIterator (IN(RIterator) it, IN(acdk::lang::Object) thelock)
 ~SynchronizedIterator ()
virtual acdk::lang::Object next ()
virtual bool hasNext ()
virtual void remove ()
 remove current element from the iterator.

virtual acdk::lang::Object element ()

Protected Attributes

acdk::lang::Object _lock
RIterator _it


Constructor & Destructor Documentation

acdk::util::SynchronizedIterator::SynchronizedIterator IN(RIterator it,
IN(acdk::lang::Object thelock
[inline]
 

acdk::util::SynchronizedIterator::~SynchronizedIterator  )  [inline]
 


Member Function Documentation

virtual acdk::lang::Object acdk::util::SynchronizedIterator::element  )  [inline, virtual]
 

Implements acdk::util::Iterator.

Reimplemented in acdk::util::SynchronizedListIterator.

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

Implements acdk::util::Iterator.

Reimplemented in acdk::util::SynchronizedListIterator.

virtual acdk::lang::Object acdk::util::SynchronizedIterator::next  )  [inline, virtual]
 

Implements acdk::util::Iterator.

Reimplemented in acdk::util::SynchronizedListIterator, and acdk::util::SynchronizedMapEntySetIterator.

virtual void acdk::util::SynchronizedIterator::remove  )  [inline, virtual]
 

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::Iterator.

Reimplemented in acdk::util::SynchronizedListIterator.


Member Data Documentation

RIterator acdk::util::SynchronizedIterator::_it [protected]
 

Reimplemented in acdk::util::SynchronizedMapEntySetIterator.

acdk::lang::Object acdk::util::SynchronizedIterator::_lock [protected]