void () { for (String trueSetting : settingsToTrue) { setBooleanSetting(trueSetting, true, objects); } for (String falseSetting : settingsToFalse) { setBooleanSetting(falseSetting, false, objects); } for (Pair<String, Integer> setting : settingsToIntValue) { setIntSetting(setting.getFirst(), setting.getSecond(), objects); } }