|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deckfour.xes.model.buffered.XTraceIterator
public class XTraceIterator
This class implements an iterator over the buffered implementation for the XTrace interface.
Iterator| Field Summary | |
|---|---|
protected XTraceBufferedImpl |
list
The trace to be iterated over. |
protected int |
position
Current position of the iterator. |
| Constructor Summary | |
|---|---|
XTraceIterator(XTraceBufferedImpl aList)
Constructs a new iterator on the specified XTraceBufferedImpl. |
|
XTraceIterator(XTraceBufferedImpl aList,
int aPosition)
Constructs a new iterator on the specified XTraceBufferedImpl. |
|
| Method Summary | |
|---|---|
void |
add(XEvent o)
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
XEvent |
next()
|
int |
nextIndex()
|
XEvent |
previous()
|
int |
previousIndex()
|
void |
remove()
|
void |
set(XEvent o)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected XTraceBufferedImpl list
protected int position
| Constructor Detail |
|---|
public XTraceIterator(XTraceBufferedImpl aList)
XTraceBufferedImpl.
aList - XTraeBufferedImpl, over which the created iterator iterates.
public XTraceIterator(XTraceBufferedImpl aList,
int aPosition)
XTraceBufferedImpl.
aList - XTraeBufferedImpl, over which the created iterator iterates.aPosition - The starting position of the iterator.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<XEvent>hasNext in interface ListIterator<XEvent>public XEvent next()
next in interface Iterator<XEvent>next in interface ListIterator<XEvent>public void remove()
remove in interface Iterator<XEvent>remove in interface ListIterator<XEvent>public void add(XEvent o)
add in interface ListIterator<XEvent>public boolean hasPrevious()
hasPrevious in interface ListIterator<XEvent>public int nextIndex()
nextIndex in interface ListIterator<XEvent>public XEvent previous()
previous in interface ListIterator<XEvent>public int previousIndex()
previousIndex in interface ListIterator<XEvent>public void set(XEvent o)
set in interface ListIterator<XEvent>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||