|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.rfb.LightweightModelElements.LightweightModelElementIterator
protected class LightweightModelElements.LightweightModelElementIterator
Typical lightweight iterator over a set of model elements. This iterator stores only a reference to its parent and his internal state as index in the parent's list of model elements.
Notice that the iterator will transparently instantiate the returned model elements as lightweight proxies on the parent.
Field Summary | |
---|---|
protected LightweightModelElements |
parent
Reference to fat parent. |
protected int |
position
Current position of the iterator on the parent's set of model elements. |
Constructor Summary | |
---|---|
protected |
LightweightModelElements.LightweightModelElementIterator(LightweightModelElements parent,
int position)
Creates a new lightweight iterator on a set of model elements with its initial position in that set. |
Method Summary | |
---|---|
boolean |
hasNext()
Probes whether further elements are available |
java.lang.Object |
next()
Retrieves the next model element from the parent set. |
void |
remove()
Not implemented for this iterator! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int position
protected LightweightModelElements parent
Constructor Detail |
---|
protected LightweightModelElements.LightweightModelElementIterator(LightweightModelElements parent, int position)
parent
- reference to fat parentposition
- initial position in the parent setMethod Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |