Java List from Array arrayToList(String[] str)

Here you can find the source of arrayToList(String[] str)

Description

array To List

License

Apache License

Declaration

public static List arrayToList(String[] str) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Arrays;

import java.util.List;

public class Main {
    public static List arrayToList(String[] str) {
        List list = Arrays.asList(str);
        return list;
    }/* www  .  jav a 2  s . co m*/
}

Related

  1. arrayToList(Object[] arr)
  2. arrayToList(Object[] hyCycles)
  3. arrayToList(String[] array, String... defaults)
  4. arrayToList(String[] arrValues)
  5. ArrayToList(String[] input)
  6. arrayToList(T array[])
  7. arrayToList(T[] array)
  8. arrayToList(T[] array)
  9. arrayToList(T[] array)