Collection<SettingsEditor<T>> () { List<SettingsEditor<T>> result = new ArrayList<>(); List<Pair<String,SettingsEditor<T>>> editors = myGroup.getEditors(); for (int i = 0; i < editors.size(); i++) { result.add(editors.get(i).getSecond()); } return result; }