Java Array to ArrayList arrayToArraylist(String[] array)

Here you can find the source of arrayToArraylist(String[] array)

Description

array To Arraylist

License

Open Source License

Declaration

public static final ArrayList<String> arrayToArraylist(String[] array) 

Method Source Code

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

import java.util.*;

public class Main {
    public static final ArrayList<String> arrayToArraylist(String[] array) {
        return new ArrayList<String>(Arrays.asList(array));
    }//from   w  ww. j av  a2 s  .co  m
}

Related

  1. arrayToArrayList(Object aobj[])
  2. arrayToArrayList(Object[] array)
  3. arrayToArrayList(Object[] myArray)
  4. arrayToArrayList(T[] array)
  5. arrayToArraylist(T[] array)
  6. asArrayList(Collection c)
  7. asArrayList(T... elements)