|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--prog.c05.date.ElencoDateOrdinato
Le sue istanze realizzano elenchi di date ordinate cronologicamente.
Constructor Summary | |
ElencoDateOrdinato(Insieme insieme)
Costruisce un elenco di date orditnate cronologicamente a partire da un insieme di oggetti. |
Method Summary | |
boolean |
hasNext()
Restituisce true se ci sono ancora date nell'elenco e
false altrimenti. |
java.lang.Object |
next()
Restituisce la prossima data nell'elenco. |
void |
remove()
Non fa nulla. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ElencoDateOrdinato(Insieme insieme)
Data
, diversamente si
verifica un errore in fase di esecuzione.
insieme
- l'insieme delle date da utilizzare per costruire
l'elenco.Method Detail |
public java.lang.Object next()
next
in interface java.util.Iterator
public boolean hasNext()
true
se ci sono ancora date nell'elenco e
false
altrimenti.
hasNext
in interface java.util.Iterator
true
se ci sono ancora date nell'elenco e
false
altrimenti.public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |