static public void addAll(List<String> list,String[] array){
  for (  String item : array)   list.add(item);
}

static public void addAll ( List < String > list , String [ ] array ) { for ( String item : array ) list . add ( item ) ; }
adds all items in the specific array to the specific list .
