50515253545556
for (final Object o : raw) if (o instanceof Workout) r1[p1++] = (Workout) o; else if (o instanceof WorkoutOccurence) r2[p2++] = (WorkoutOccurence) o; return new Workouts(r1, r2); }