for (Stop currStop : table.pattern.stopPattern.stops) {
if (currStop != stop) continue;
for (ServiceDay sd : req.rctx.serviceDays) {
TripTimes tt = table.getNextTrip(state, sd, sidx, true);
if (tt != null) {
times.times.add(new TripTimeShort(tt, sidx, stop));
}
}
sidx++;
}
if ( ! times.times.isEmpty()) ret.add(times);