|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dlsc.flexgantt.model.TimeSpanIterator<T>
T - the element type of the list over which to iteratepublic class TimeSpanIterator<T extends ITimeSpan>
An iterator implementation specialized on iterating over a list of
ITimeSpan elements.
| Constructor Summary | |
|---|---|
TimeSpanIterator(java.util.List<T> timeSpanList,
ITimeSpan span)
Constructs a new time span iterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeSpanIterator(java.util.List<T> timeSpanList,
ITimeSpan span)
timeSpanList - the list of time spans that will iterated overspan - the time span for which to return time spans stored in the
list| Method Detail |
|---|
public void remove()
remove in interface java.util.Iterator<T extends ITimeSpan>public boolean hasNext()
hasNext in interface java.util.Iterator<T extends ITimeSpan>public T next()
next in interface java.util.Iterator<T extends ITimeSpan>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||