Main Page | Packages | Class Hierarchy | Class List | File List | Class Members

ArgoPrintIterator Class Reference

List of all members.

Detailed Description

Class which extends iterator to better keep track of current object.

Author:
matda701, Mattias Danielsson

Definition at line 42 of file ArgoPrintIterator.java.

Public Member Functions

 ArgoPrintIterator (Iterator iter)
 Constructor, takes the iterator to be wrapped into ArgoPrintIterator.

boolean hasNext ()
 Checks if the iterator has more objects.

Object next ()
 Returns the next object in the iterator.

void remove () throws UnsupportedOperationException, IllegalStateException
 Removes last object returned by next().

Object currentObject ()
 Returns the currentObject in the iterator.


Constructor & Destructor Documentation

ArgoPrintIterator Iterator  iter  ) 
 

Constructor, takes the iterator to be wrapped into ArgoPrintIterator.

Definition at line 57 of file ArgoPrintIterator.java.


Member Function Documentation

Object currentObject  ) 
 

Returns the currentObject in the iterator.

Null if next() hasn't been invoked.

Definition at line 94 of file ArgoPrintIterator.java.

Referenced by Interpreter.callDataSource().

boolean hasNext  ) 
 

Checks if the iterator has more objects.

Definition at line 64 of file ArgoPrintIterator.java.

Referenced by InterpreterIterate.processTag().

Object next  ) 
 

Returns the next object in the iterator.

Also updates _currentObject.

Definition at line 69 of file ArgoPrintIterator.java.

Referenced by InterpreterIterate.processTag().

void remove  )  throws UnsupportedOperationException, IllegalStateException
 

Removes last object returned by next().

Se Iterator for more info.

Definition at line 77 of file ArgoPrintIterator.java.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 22:50:56 2003 for ArgoPrint by doxygen 1.3.4