|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An iterator over a Collection. Iterator takes the place of Enumeration in the Java collection framework. Iterators differ from Enumerations in two ways:
Collection, ListIterator, Enumeration| Method Summary | |
boolean |
hasNext()Returns true if the iteration has more elements. |
java.lang.Object |
next()Returns the next element in the interation. |
void |
remove()Removes from the underlying Collection the last element returned by the Iterator . |
| Method Detail |
public boolean hasNext()
public java.lang.Object next()
NoSuchElementException - iteration has no more elements.public void remove()
UnsupportedOperationException - remove is not supported by this Iterator.NoSuchElementException - next has not yet been called, or remove has already been called after the last call to next.
|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||