public class IMTrace.IMEventIterator
extends java.lang.Object
implements java.util.Iterator<org.deckfour.xes.model.XEvent>
Constructor and Description |
---|
IMEventIterator(int from,
int to) |
Modifier and Type | Method and Description |
---|---|
org.deckfour.xes.classification.XEventClass |
classify() |
IMTrace.IMEventIterator |
clone() |
org.deckfour.xes.model.XEvent |
get() |
java.lang.Iterable<org.deckfour.xes.model.XEvent> |
getUntil(IMTrace.IMEventIterator it)
Return a new iterable that iterates from the current position
(including) to the given iterator (exclusive)
|
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isAtSameEvent(IMTrace.IMEventIterator other) |
org.deckfour.xes.model.XEvent |
next() |
org.deckfour.xes.model.XEvent |
previous() |
void |
remove()
Remove the current XEvent (= last given by next).
|
void |
removeAll() |
IMTrace |
split()
Split the trace such that the part before the current XEvent moves to
a new trace.
|
public IMTrace.IMEventIterator clone()
clone
in class java.lang.Object
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.deckfour.xes.model.XEvent>
public void remove()
remove
in interface java.util.Iterator<org.deckfour.xes.model.XEvent>
public void removeAll()
public org.deckfour.xes.model.XEvent next()
next
in interface java.util.Iterator<org.deckfour.xes.model.XEvent>
public org.deckfour.xes.model.XEvent get()
public org.deckfour.xes.classification.XEventClass classify()
public IMTrace split()
public java.lang.Iterable<org.deckfour.xes.model.XEvent> getUntil(IMTrace.IMEventIterator it)
it
- public boolean hasPrevious()
public org.deckfour.xes.model.XEvent previous()
public boolean isAtSameEvent(IMTrace.IMEventIterator other)