public class XTraceIteratorDBBatch
extends java.lang.Object
implements java.util.ListIterator<org.deckfour.xes.model.XEvent>
| Modifier and Type | Field and Description |
|---|---|
protected XTraceDBBatchImpl |
list
The trace to be iterated over.
|
protected int |
position
Current position of the iterator.
|
| Constructor and Description |
|---|
XTraceIteratorDBBatch(XTraceDBBatchImpl aList)
Constructs a new iterator on the specified
XTraceDBBatchImpl. |
XTraceIteratorDBBatch(XTraceDBBatchImpl aList,
int aPosition)
Constructs a new iterator on the specified
XTraceDBBatchImpl. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.deckfour.xes.model.XEvent o) |
boolean |
hasNext() |
boolean |
hasPrevious() |
org.deckfour.xes.model.XEvent |
next() |
int |
nextIndex() |
org.deckfour.xes.model.XEvent |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(org.deckfour.xes.model.XEvent o) |
protected XTraceDBBatchImpl list
protected int position
public XTraceIteratorDBBatch(XTraceDBBatchImpl aList)
XTraceDBBatchImpl.aList - XTraceDBBatchImpl, over which the created iterator iterates.public XTraceIteratorDBBatch(XTraceDBBatchImpl aList, int aPosition)
XTraceDBBatchImpl.aList - XTraceDBBatchImpl, over which the created iterator iterates.aPosition - The starting position of the iterator.public boolean hasNext()
hasNext in interface java.util.Iterator<org.deckfour.xes.model.XEvent>hasNext in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public org.deckfour.xes.model.XEvent next()
next in interface java.util.Iterator<org.deckfour.xes.model.XEvent>next in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public void remove()
remove in interface java.util.Iterator<org.deckfour.xes.model.XEvent>remove in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public void add(org.deckfour.xes.model.XEvent o)
add in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public int nextIndex()
nextIndex in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public org.deckfour.xes.model.XEvent previous()
previous in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public int previousIndex()
previousIndex in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>public void set(org.deckfour.xes.model.XEvent o)
set in interface java.util.ListIterator<org.deckfour.xes.model.XEvent>