String sGroupId = groupUsers.groupId.toString();
String[] rawUserIds = new String[groupUsers.userIds.size()];
for (int j = 0; j < groupUsers.userIds.size(); ++j) {
rawUserIds[j] = groupUsers.userIds.get(j).toString();
}
rawUserGroups[i] = new UserGroup(sGroupId, rawUserIds);
}
return new UsersAndGroups(rawUsers, rawGroups, rawUserGroups);
}