<p>
The group objects for the groups.
</p>

@param groups
The group objects for the groups.
340933
public void setGroups(java.util.Collection<GroupType> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<GroupType>(groups);
    }
747416
public void setRootGroups(final List<Group> rootGroups)
    {
        synchronized(this.getRootGroups())
        {
            if(rootGroups != this.getRootGroups())
            {
                this.getRootGroups().clear();
                
                if(rootGroups != null)
                {
                    this.getRootGroups().addAll(rootGroups);
                }
            }
        }
    }
28380
public void setGroups(java.util.Collection<ReservationCoverageGroup> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<ReservationCoverageGroup>(groups);
    }
1129827
public void setIpGroupIds(java.util.Collection<String> ipGroupIds) {
        if (ipGroupIds == null) {
            this.ipGroupIds = null;
            return;
        }

        this.ipGroupIds = new com.amazonaws.internal.SdkInternalList<String>(ipGroupIds);
    }
548346
public void setGroups(java.util.Collection<GroupInformation> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<GroupInformation>(groups);
    }
680784
public void setDBClusterParameterGroups(java.util.Collection<DBClusterParameterGroup> dBClusterParameterGroups) {
        if (dBClusterParameterGroups == null) {
            this.dBClusterParameterGroups = null;
            return;
        }

        this.dBClusterParameterGroups = new java.util.ArrayList<DBClusterParameterGroup>(dBClusterParameterGroups);
    }
1207225
private SortedMap<String, SortedSet<ITestNGMethod>> sortGroups(Map<String, Collection<ITestNGMethod>> groups)
    {
        SortedMap<String, SortedSet<ITestNGMethod>> sortedGroups = new TreeMap<String, SortedSet<ITestNGMethod>>();
        for (Map.Entry<String, Collection<ITestNGMethod>> entry : groups.entrySet())
        {
            SortedSet<ITestNGMethod> methods = new TreeSet<ITestNGMethod>(METHOD_COMPARATOR);
            methods.addAll(entry.getValue());
            sortedGroups.put(entry.getKey(), methods);
        }
        return sortedGroups;
    }
1325497
public void setLogGroups(java.util.Collection<LogGroup> logGroups) {
        if (logGroups == null) {
            this.logGroups = null;
            return;
        }

        this.logGroups = new com.amazonaws.internal.SdkInternalList<LogGroup>(logGroups);
    }
991231
public void setPolicyGroups(java.util.Collection<PolicyGroup> policyGroups) {
        if (policyGroups == null) {
            this.policyGroups = null;
            return;
        }

        this.policyGroups = new com.amazonaws.internal.SdkInternalList<PolicyGroup>(policyGroups);
    }
399666
public void setDBParameterGroups(java.util.Collection<DBParameterGroup> dBParameterGroups) {
        if (dBParameterGroups == null) {
            this.dBParameterGroups = null;
            return;
        }

        this.dBParameterGroups = new java.util.ArrayList<DBParameterGroup>(dBParameterGroups);
    }
869722
public static void removeGroupColumns(List<String> selectColumns, List<String> groups) {		
		List<String> removedGroups = new ArrayList<String>();	
		for (String group : groups) {			
			if (!containsColumnByAlias(selectColumns, group)) {
				removedGroups.add(group);
			}
		}		
		groups.removeAll(removedGroups);		
	}
925324
public void setInstanceGroups(java.util.Collection<InstanceGroupDetail> instanceGroups) {
        if (instanceGroups == null) {
            this.instanceGroups = null;
            return;
        }

        this.instanceGroups = new com.amazonaws.internal.SdkInternalList<InstanceGroupDetail>(instanceGroups);
    }
813863
public void setParameterGroupNames(java.util.Collection<String> parameterGroupNames) {
        if (parameterGroupNames == null) {
            this.parameterGroupNames = null;
            return;
        }

        this.parameterGroupNames = new java.util.ArrayList<String>(parameterGroupNames);
    }
1331686
public void removeGroup(String group) {

        if (m_fieldsByGroup.get(group) != null) {
            List<I_CmsFormField> fieldsToRemove = new ArrayList<I_CmsFormField>(m_fieldsByGroup.get(group));
            for (I_CmsFormField field : fieldsToRemove) {
                removeField(field);
            }
        }
        m_fieldsByGroup.removeAll(group);
    }
1084736
public void onItemGroup(ItemGroup<?> group) {
        for (Item i : group.getItems())
            if (i.hasPermission(Item.READ))
                onItem(i);
    }
1280511
public void setPatchGroups(java.util.Collection<String> patchGroups) {
        if (patchGroups == null) {
            this.patchGroups = null;
            return;
        }

        this.patchGroups = new com.amazonaws.internal.SdkInternalList<String>(patchGroups);
    }
614010
public void setEndpointGroups(java.util.Collection<EndpointGroup> endpointGroups) {
        if (endpointGroups == null) {
            this.endpointGroups = null;
            return;
        }

        this.endpointGroups = new java.util.ArrayList<EndpointGroup>(endpointGroups);
    }