|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.IndividualIterator
public class IndividualIterator
An iterator to return nodes in the order they are added. Having a separate iterator instead of using nodes.iterator() allows to change the nodes table without resetting the iteration process.
Constructor Summary | |
---|---|
IndividualIterator(ABox abox)
Create an iterator over all the individuals in the ABox |
Method Summary | |
---|---|
boolean |
hasNext()
|
Individual |
next()
|
void |
remove()
|
void |
reset(NodeSelector s)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndividualIterator(ABox abox)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Individual>
public void reset(NodeSelector s)
public Individual next()
next
in interface java.util.Iterator<Individual>
public void remove()
remove
in interface java.util.Iterator<Individual>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |