code: public List<FriendGroup> getFriendGroups() {
  		final ArrayList<FriendGroup> groups = new ArrayList<>();
  		for (final RosterGroup g : connection.getRoster().getGroups()) {
  			groups.add(new FriendGroup(this, connection, g));
  		}
  		return groups;
  	}
docs: Get a list of all your FriendGroups.
  
  @return A List of all your FriendGroups