Java List Create createListFrom(String... array)

Here you can find the source of createListFrom(String... array)

Description

create List From

License

Open Source License

Declaration

public static ArrayList<String> createListFrom(String... array) 

Method Source Code

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

import java.util.ArrayList;
import java.util.Arrays;

public class Main {
    public static ArrayList<String> createListFrom(String... array) {
        return new ArrayList<>(Arrays.asList(array));
    }// w  w  w .  j  ava  2s . c  o  m
}

Related

  1. createList(T... element)
  2. createList(T... items)
  3. createList(T... items)
  4. createList(T... objs)
  5. createList(T... params)
  6. createListFromCollection(Collection collection)
  7. createListFromCommaDelimitedString(String access)
  8. createListFromDotSeparatedString(String s)
  9. createListFromList(Collection collection)