get
public org.deckfour.xes.model.XEvent get(org.deckfour.xes.model.XTrace t,
int i)
Gets the event at index i in the given trace t.
Precondition: This event exists. Side effect: Caches up to MAX_CACHE_SIZE
events in the trace.
Somehow, the OpenXES library seems to favor sequential access in traces.
Therefore, we try to access all events in a trace sequentially and cache
them. Later requests can then be answered from the cache.
- Parameters:
t
- The given trace.i
- The given index.
- Returns:
- The event at index i in trace t.