2005/5/9

     
 

class DoubleIterator

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

acdk::util::DoubleIterator Class Reference

#include <DoubleIterator.h>

Inheritance diagram for acdk::util::DoubleIterator:

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

Detailed Description

Joins 2 Iterator to single one.

At first, all elements in iterator1 will listed. API: Java<br/>

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


Public Member Functions

 DoubleIterator (IN(RIterator) it1, IN(RIterator) it2)
virtual bool hasNext ()
virtual acdk::lang::Object next ()
virtual acdk::lang::Object element ()
virtual void remove ()
 remove current element from the iterator.


Private Attributes

RIterator _it1
RIterator _it2
bool _in1
bool _checkinin1


Constructor & Destructor Documentation

acdk::util::DoubleIterator::DoubleIterator IN(RIterator it1,
IN(RIterator it2
[inline]
 


Member Function Documentation

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

Implements acdk::util::Iterator.

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

Implements acdk::util::Iterator.

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

Implements acdk::util::Iterator.

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

remove current element from the iterator.

May not support by all Iterator

Implements acdk::util::Iterator.


Member Data Documentation

bool acdk::util::DoubleIterator::_checkinin1 [mutable, private]
 

bool acdk::util::DoubleIterator::_in1 [mutable, private]
 

RIterator acdk::util::DoubleIterator::_it1 [private]
 

RIterator acdk::util::DoubleIterator::_it2 [private]