|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.model.gantt.BinarySearchTimelineObjectIterator<T>
T
- the type of the timeline objectspublic class BinarySearchTimelineObjectIterator<T extends ITimelineObject>
Instances of this class are used to iterate over the sorted list of timeline objects returned by a timeline model. An iterator only returns those objects that intersect with the time span passed to the constructor of the iterator.
Constructor Summary | |
---|---|
BinarySearchTimelineObjectIterator(java.util.List<T> objectList,
ITimeSpan span)
Constructs a new iterator object. |
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 BinarySearchTimelineObjectIterator(java.util.List<T> objectList, ITimeSpan span)
objectList
- the sorted list of timeline objectListspan
- the time span to iterate overMethod Detail |
---|
public void remove()
remove
in interface java.util.Iterator<T extends ITimelineObject>
public boolean hasNext()
hasNext
in interface java.util.Iterator<T extends ITimelineObject>
public T next()
next
in interface java.util.Iterator<T extends ITimelineObject>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |