Java List Value Add All addAllTo(List procArgs, String[] args)

Here you can find the source of addAllTo(List procArgs, String[] args)

Description

add All To

License

Open Source License

Declaration

private static void addAllTo(List<String> procArgs, String[] args) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    private static void addAllTo(List<String> procArgs, String[] args) {
        for (String arg : args) {
            procArgs.add(arg);//w w w  .j  a  v a2 s  .  c o  m
        }
    }
}

Related

  1. addAll(List list, T... array)
  2. addAll(List src, T... args)
  3. addAll(List xs, Collection adds)
  4. addAll(Object[] array, List list)
  5. addAll(T[] array, List list)
  6. addAllTo(List list, T... args)
  7. addAllToANewList(Collection... collections)
  8. addAllToList(List dest, Collection src)
  9. addAllUnique(List aList, List theObjects)