event = getNext(context);
}
}
-// System.out.println("seekEvent() before parseEvent() context=" + context);
-// ITmfEvent event = fParser.parseEvent(context);
-// System.out.println("seekEvent() after parseEvent() context=" + context + " TS=" + event.getTimestamp());
-// event = fParser.parseEvent(context);
-// System.out.println("seekEvent() after parseEvent() context=" + context + " TS=" + event.getTimestamp());
return context;
}
final ITmfContext nextEventContext = context.clone(); // Must use clone() to get the right subtype...
ITmfEvent event = getNext(nextEventContext);
while (event != null && event.getTimestamp().compareTo(timestamp, false) < 0) {
- context = nextEventContext.clone();
+ getNext(context);
event = getNext(nextEventContext);
}
if (event == null) {