|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.utilities.time.interval.DayIterator
public class DayIterator
Provides an iterator over Day instances.
Constructor Summary | |
---|---|
DayIterator(DayInterval dayInterval)
Creates a day iterator over the interval. |
Method Summary | |
---|---|
boolean |
hasNext()
Whether it is still inside the day interval. |
Day |
next()
Gets the next day. |
void |
remove()
Required for iterator(). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
DayIterator(DayInterval dayInterval)
dayInterval
- Iterator over the day.Method Detail |
---|
public void remove()
remove
in interface java.util.Iterator<Day>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Day>
public Day next()
next
in interface java.util.Iterator<Day>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |