| ★ wanayoo — archive 1999 http://java.sun.com/products/jdk/1.2/docs/api/java/util/Iterator.html | Nouvelle recherche | Portail wanayoo |
|
JavaTM 2 Platform Standard Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An iterator over a collection. Iterator takes the place of Enumeration in the Java collections framework. Iterators differ from enumerations in two ways:
Collection,
ListIterator,
Enumeration| Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the interation. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
| Method Detail |
public boolean hasNext()
public Object next()
public void remove()
|
JavaTM 2 Platform Standard Edition |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||