GroupItem[] () { GroupItem[] groups = new GroupItem[myGroups.size() + 1]; for (int i = 0; i < myGroups.size(); i++) { groups[i] = myGroups.get(i); } groups[myGroups.size()] = mySpecialGroup; return groups; }