|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object es.ucm.fdi.gaia.ontobridge.util.ToStringIterator<T>
public class ToStringIterator<T>
Converts a JENA iterator into an String iterator. This class allows to convert between JENA classes and their corresponding URI representation in a very efficient way.
Constructor Summary | |
---|---|
ToStringIterator(java.util.Iterator iter)
Constructor. |
Method Summary | |
---|---|
boolean |
hasNext()
Indicates if there are more elements |
T |
next()
Returns the following element as an string. |
void |
remove()
Removes an element of the collection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToStringIterator(java.util.Iterator iter)
iter
- wrapped iterator which elements are converted into strings.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next()
next
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |