|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlsd.LinkedListIterator
public class LinkedListIterator
| Constructor Summary | |
|---|---|
LinkedListIterator(LinkedList theList)
Costruttore |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Indica se ci sono ulteriori nodi da esaminare nell'iterazione corrente. |
java.lang.Object |
next()
Restituisce l'oggetto successivo da esaminare nell'iterazione. |
void |
remove()
Cancella l'oggetto restituito dall'ultima chiamata al metodo next. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkedListIterator(LinkedList theList)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratorjava.util.ConcurrentModificationException - se avviene
una modifica concorrente degli stessi oggetti
mediante qualche altro metodo.public java.lang.Object next()
next in interface java.util.Iteratorjava.util.NoSuchElementException - se non ci sono altri
oggetti da esaminare.
java.util.ConcurrentModificationException - se avviene
una modifica concorrente degli stessi oggetti
mediante qualche altro metodo.public void remove()
next. Il metodo può essere
invocato solo una volta per ciascuna chiamata a
next.
remove in interface java.util.Iteratorjava.util.ConcurrentModificationException - se avviene
una modifica concorrente degli stessi oggetti
mediante qualche altro metodo.
java.lang.IllegalStateException - se nessuna chiamata al
metodo next è stata precedentemente
effettuata, oppure una chiamata a remove è
stata già eseguita in corrispondenza dello stessa
chiamata a next.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||