List of utility methods to do List Value Add All
List | addAll(List add All if (src == null) { return null; for (T t : args) { src.add(t); return src; |
List | addAll(List add All xs.addAll(adds);
return xs;
|
void | addAll(Object[] array, List list) add All for (int i = 0; i < array.length; i++) { if (!list.contains(array[i])) list.add(array[i]); |
void | addAll(T[] array, List add All for (T t : array) {
list.add(t);
|
void | addAllTo(List add All To for (String arg : args) {
procArgs.add(arg);
|
boolean | addAllTo(List add All To return list.addAll(asList(args));
|
List | addAllToANewList(Collection Adds all elements of given collections to a new LinkedList. LinkedList<E> result = new LinkedList<E>(); for (Collection<E> c : collections) { result.addAll(c); return result; |
List | addAllToList(List add All To List if (isEmpty(src)) { return dest; for (T item : src) { if (!dest.contains(item)) { dest.add(item); return dest; |
List | addAllUnique(List Adds all object from second list to first list (creates first list if missing). if (aList == null) aList = new ArrayList(); for (T object : theObjects) if (!aList.contains(object)) aList.add(object); return aList; |
List | addAllUnique(List Add the element to the list, if it is not already there. if (!l1.contains(element)) { l1.add(element); return l1; |