Android Utililty Methods Collection Merge

List of utility methods to do Collection Merge

Description

The list of methods to do Collection Merge are organized into topic(s).

Method

CollectionaddAllIgnoreContains( Collection origin, Collection target)
Add all elements in the target collection to the origin collection, and ignore elements which origin collection contained.
if (origin == null) {
    return null;
List<T> temp = new ArrayList<T>();
if (!isEmpty(target)) {
    Iterator<T> it = target.iterator();
    while (it.hasNext()) {
        T object = it.next();
...