Collection<MemberInfoType> () { ArrayList<MemberInfoType> result = new ArrayList<>(myMemberInfos.size()); for (MemberInfoType info : myMemberInfos) { if (info.isChecked()) { result.add(info); } } return result; }