for (Family family : families) {
Stack<Entry> logEntries = family.getLogEntries();
if (!logEntries.empty()) {
Entry top = logEntries.peek();
if (top.getType() == TYPE.START) {
RunningEvent runningEvent = new RunningEvent(top,
family.getStartKey(), family.getEndKey());
running.add(runningEvent);
}
}
}