|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upc.dama.dex.core.Objects.Iterator
public class Objects.Iterator
Iterator to traverse the object identifier in a collection.
| Method Summary | |
|---|---|
void |
close()
Closes the Objects.Iterator. |
boolean |
hasNext()
Gets whether there are more object identifiers into the collection. |
boolean |
isOpen()
Gets if the Objects.Iterator instance is open. |
java.lang.Long |
next()
Gets the next object identifier into the collection and moves forward the iterator. |
void |
remove()
Unsupported operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratortrue if there is at least another object
identifier into the collection, false otherwise.public java.lang.Long next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic boolean isOpen()
Objects.Iterator instance is open.
Only opened Objects.Iterator instances can execute methods, otherwise
they will fail.
true if the Objects.Iterator instance is open,
false otherwise.public void close()
Objects.Iterator.
It is important to close Objects.Iterators as soon as possible
to free its memory resources.
close in interface java.io.Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||