public class OslcRDFObjectListIterator extends ObjectListIterator
Constructor and Description |
---|
OslcRDFObjectListIterator()
Default Constructor
|
OslcRDFObjectListIterator(java.util.ListIterator<com.hp.hpl.jena.rdf.model.Statement> lt,
java.lang.String osName,
java.lang.String objectPath,
java.lang.String messageType,
UserInfo userInfo)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object o)
Adds object to iterator
|
boolean |
hasNext()
Checks if Iterator has next value
|
boolean |
hasPrevious()
Checks if Iterator has Previous value
|
java.lang.Object |
next()
Returns next object in iterator
|
int |
nextIndex()
Return next index
|
java.lang.Object |
previous()
Returns previous object in iterator
|
int |
previousIndex()
Return previous index
|
void |
remove()
Removes from iterator
|
void |
set(java.lang.Object o)
Sets object to iterator
|
public OslcRDFObjectListIterator()
public OslcRDFObjectListIterator(java.util.ListIterator<com.hp.hpl.jena.rdf.model.Statement> lt, java.lang.String osName, java.lang.String objectPath, java.lang.String messageType, UserInfo userInfo)
it
- Original ListIterator.public int nextIndex()
nextIndex
in interface java.util.ListIterator
nextIndex
in class ObjectListIterator
public int previousIndex()
previousIndex
in interface java.util.ListIterator
previousIndex
in class ObjectListIterator
public void remove()
remove
in interface java.util.Iterator
remove
in interface java.util.ListIterator
remove
in class ObjectListIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in interface java.util.ListIterator
hasNext
in class ObjectListIterator
public boolean hasPrevious()
hasPrevious
in interface java.util.ListIterator
hasPrevious
in class ObjectListIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in interface java.util.ListIterator
next
in class ObjectListIterator
public java.lang.Object previous()
previous
in interface java.util.ListIterator
previous
in class ObjectListIterator
public void add(java.lang.Object o)
add
in interface java.util.ListIterator
add
in class ObjectListIterator
o
- object to addpublic void set(java.lang.Object o)
set
in interface java.util.ListIterator
set
in class ObjectListIterator
o
- object to set