void (Collection<? extends RunAnythingGroup> groups, int baseIndex, int shift) { groups.stream().filter(runAnythingGroup -> runAnythingGroup.myMoreIndex >= baseIndex) .forEach(runAnythingGroup -> runAnythingGroup.myMoreIndex += shift); }