|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ebay.carad.os.vitalsigns.ReportContainerIterator
public class ReportContainerIterator
An iterator that goes over an iterator containing IDashboardReportContainer
objects, and explodes them to expose an iterator over IDashboardReport
objects.
Does not implement Iterator
because it doesn't support remove, and doesn't return
Object
.
Field Summary | |
---|---|
private java.util.Iterator |
currentIterator
The current iterator over the current IDashboardReportContainer. |
private java.util.Iterator |
myIterator
The wrapped list iterator, must be all IDashboardReportContainer objects. |
Constructor Summary | |
---|---|
ReportContainerIterator(java.util.Collection col)
Basic constructor. |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
private void |
moveToNextActive()
Ensures our current iterator has elements to offer, or that we are at the end of the line. |
IDashboardReport |
next()
Returns the next IDashboardReport in the iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.util.Iterator myIterator
private java.util.Iterator currentIterator
Constructor Detail |
---|
public ReportContainerIterator(java.util.Collection col)
col
- a collection of IDashboardReportContainer
objects.Method Detail |
---|
public boolean hasNext()
public IDashboardReport next()
IDashboardReport
in the iteration.
private void moveToNextActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |