Java List to String Array listToStringArray(List inputList)

Here you can find the source of listToStringArray(List inputList)

Description

list To String Array

License

Open Source License

Declaration

public static String[] listToStringArray(List<String> inputList) 

Method Source Code

//package com.java2s;

import java.util.List;

public class Main {

    public static String[] listToStringArray(List<String> inputList) {
        return inputList.toArray(new String[inputList.size()]);
    }/*from w  w w .  j  a  va  2s.  c  o  m*/
}

Related

  1. listToStringArray(List list)
  2. listToStringArray(List objectList)
  3. listToStringArray(List objs)
  4. listToStringArray(List list)
  5. listToStringArray(List list)