|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteworks.RDF.model.StaticCollectionIterator
An iterator for an instance of StaticCollection
.
Constructor Summary | |
StaticCollectionIterator(StaticCollection collection)
Creates a new iterator for the given collection . |
Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
Object |
next()
Returns the next element in the iteration. |
void |
remove()
Do not call this method, as it throws an UnsupportedOperationException .
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StaticCollectionIterator(StaticCollection collection)
collection
.
collection
- The collection to iterate trough.Method Detail |
public void remove()
UnsupportedOperationException
.
This method is implemented due to the contract with Iterator
, but
cannot be applied on instances of this class.
remove
in interface Iterator
UnsupportedOperationException
- always.public boolean hasNext()
true
if the iteration has more elements. (In other words,
returns true
if next()
would return an element rather than
throwing an exception.)
hasNext
in interface Iterator
true
if the iterator has more elements.public Object next()
next
in interface Iterator
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |