|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--lab2.TreeSet.ProtectedItr
| Field Summary | |
protected BinNode |
cursor
|
protected int |
expectedModCount
|
protected BinNode |
precursor
|
| Constructor Summary | |
(package private) |
TreeSet.ProtectedItr()
Costruttore |
| Method Summary | |
boolean |
hasNext()
Indica se ci sono ulteriori elementi 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 |
|
| Field Detail |
protected BinNode cursor
protected BinNode precursor
protected int expectedModCount
| Constructor Detail |
TreeSet.ProtectedItr()
| Method Detail |
public boolean hasNext()
hasNext in interface IteratorConcurrentModificationException - se avviene
una modifica concorrente degli stessi oggetti
mediante qualche altro metodo.public java.lang.Object next()
next in interface IteratorNoSuchElementException - se non ci sono altri
oggetti da esaminare.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 IteratorConcurrentModificationException - se avviene
una modifica concorrente degli stessi oggetti
mediante qualche altro metodo.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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||