|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An extension of Iterator that allows additions during iteration. For example one thread could populate the iterator while another iterates through it.
| Method Summary | |
void |
add(java.lang.Object theItem)
Adds a single item to the list which this iterator iterates through. |
void |
close()
Releases any resources held by this iterator. |
void |
declareException(java.lang.Exception theException)
This indicates that an exception has been encountered while populating this iterator. |
void |
freeze()
Called after all add() and merge() calls. |
| Methods inherited from interface java.util.Iterator |
hasNext, next, remove |
| Method Detail |
public void add(java.lang.Object theItem)
theItem - IDataItem to addpublic void freeze()
public void declareException(java.lang.Exception theException)
theException - exception to declarepublic void close()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||