|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.utilities.time.interval.MonthIterator
public class MonthIterator
Defines iterator for month interval.
Constructor Summary | |
---|---|
MonthIterator(MonthInterval monthInterval)
Creates an iterator. |
Method Summary | |
---|---|
boolean |
hasNext()
If it is before the end month it will be a good one. |
Month |
next()
Gets the next month. |
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 |
---|
MonthIterator(MonthInterval monthInterval)
monthInterval
- Month Interval.Method Detail |
---|
public Month next()
next
in interface java.util.Iterator<Month>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Month>
public void remove()
remove
in interface java.util.Iterator<Month>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |