NOTE new API, use this to replace {@link BaseTangramEngine#appendData(List)} and {@link BaseTangramEngine#appendData(Object)}

@param groups new groups to be append at tail.
@since 2.1.0
484414
public void appendBatchWith(List<Card> groups) {
        if (mGroupBasicAdapter != null) {
            insertBatchWith(mGroupBasicAdapter.getGroups().size(), groups);
        }
    }
435696
public void setObjectGroups(Map<String, List<String>> objectGroups) {
        this.objectGroups.clear();
        if (objectGroups != null) {
            this.objectGroups.putAll(objectGroups);
        }
    }
161025
public void setRootToParentThingGroups(java.util.Collection<GroupNameAndArn> rootToParentThingGroups) {
        if (rootToParentThingGroups == null) {
            this.rootToParentThingGroups = null;
            return;
        }

        this.rootToParentThingGroups = new java.util.ArrayList<GroupNameAndArn>(rootToParentThingGroups);
    }
961697
public Setting putAll(String group, Map<? extends String, ? extends String> m) {
		this.groupedMap.putAll(group, m);
		return this;
	}
1320418
public void setGroupDetailList(java.util.Collection<GroupDetail> groupDetailList) {
        if (groupDetailList == null) {
            this.groupDetailList = null;
            return;
        }

        this.groupDetailList = new com.amazonaws.internal.SdkInternalList<GroupDetail>(groupDetailList);
    }
875536
@Override
    public void addUsersAndGroupsToAllActions(Set<String> users, Set<String> groups) {
        Set<String> tempUsers = new HashSet<String>();
        Set<String> tempGroups = new HashSet<String>();
        tempUsers.addAll(users);
        tempGroups.addAll(groups);

        addAllUsersToRole(tempUsers, MessagingSecurityConstants.OPERATION_TYPE_SEND);
        addAllGroupsToRole(tempGroups, MessagingSecurityConstants.OPERATION_TYPE_SEND);

        addAllUsersToRole(tempUsers, MessagingSecurityConstants.OPERATION_TYPE_RECEIVE);
        addAllGroupsToRole(tempGroups, MessagingSecurityConstants.OPERATION_TYPE_RECEIVE);

    }
661332
@Override
    public synchronized ChainGroupData addChainToGroup(String groupName, String chainName) throws ChainGroupException, ChainException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "addChainToGroup chainName=" + chainName + ", groupName=" + groupName);
        }
        if (null == groupName) {
            throw new ChainGroupException("Null chain group");
        }
        if (null == chainName) {
            throw new ChainException("Null chain name");
        }

        // Ensure the chain exists.
        ChainData chain = this.chainDataMap.get(chainName);
        if (null == chain) {
            throw new ChainException("Unable to find chain: " + chainName);
        }

        // Ensure the group exists.
        ChainGroupDataImpl group = (ChainGroupDataImpl) this.chainGroups.get(groupName);
        if (null == group) {
            throw new ChainGroupException("Unable to find group: " + groupName);
        }

        // Add the chain to the group.
        group.addChain(chain);

        return group;
    }
109155
@Override
	public void putAll(Map<? extends String, ? extends String> m) {
		this.groupedMap.putAll(DEFAULT_GROUP, m);
	}
281852
public void setGroups(java.util.Collection<Group> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<Group>(groups);
    }
87355
public void setGroupId(final String groupId) {
        if (groupId == null && this.groupId == null) {
            return;
        } else if (groupId == null) {
            removeChild(this.groupId);
            this.groupId = null;
        } else if (this.groupId == null) {
            this.groupId = new KeyValueNode<String>(CommonConstants.CS_MAVEN_GROUP_ID_TITLE, groupId);
            appendChild(this.groupId, false);
        } else {
            this.groupId.setValue(groupId);
        }
    }
540948
public void add(Orientation orientation, String group)
    {
        final Collection<String> groups = constraints.get(orientation);
        groups.add(group);
    }
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);
                }
            }
        }
    }
1180579
public static List<String> replaceNullValueWithEmptyGroup(@Nonnull final List<String> groups) {
		Check.notNull(groups, "groups");

		final List<String> result = new ArrayList<String>(groups.size());
		for (final String group : groups) {
			if (group == null) {
				result.add(EMPTY_GROUP);
			} else {
				result.add(group);
			}
		}
		for (int i = result.size(); i < MIN_GROUP_SIZE; i++) {
			result.add(EMPTY_GROUP);
		}
		return result;
	}
204509
public void replaceGroup(int replaced, @Nullable List<L> groups) {

        if (replaced < 0 || replaced >= mCards.size() || groups == null || groups.size() == 0)
            // invalid index
            return;

        List<L> cards = getGroups();

        boolean changed = cards.addAll(replaced + 1, groups);

        if (changed) {
            cards.remove(replaced);
            setData(cards);
        }
    }
1335861
public void setGroupId(java.util.Collection<String> groupId) {
        if (groupId == null) {
            this.groupId = null;
            return;
        }

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

        this.groups = new java.util.ArrayList<ReservationCoverageGroup>(groups);
    }
1289379
public void populateGroupsLegendByGroups(final List<RolloutGroup> groups) {
        loadingLabel.setVisible(false);

        for (int i = 0; i < getGroupsWithoutToBeContinuedLabel(groups.size()); i++) {
            final Component component = groupsLegend.getComponent(i);
            final Label label = (Label) component;
            if (groups.size() > i) {
                final int targetCount = groups.get(i).getTotalTargets();
                final String groupName = groups.get(i).getName();

                label.setValue(getTargetsInGroupMessage((long) targetCount, groupName));
                label.setVisible(true);
            } else {
                label.setValue("");
                label.setVisible(false);
            }
        }

        showOrHideToBeContinueLabel(groups);
    }