Here you can find the source of toStringList(List
static public List<String> toStringList(List<Integer> intList)
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.List; public class Main { static public List<String> toStringList(List<Integer> intList) { List<String> stringList = new ArrayList<>(); for (Integer intValue : intList) { stringList.add(intValue.toString()); }//from w w w .j a v a 2 s . co m return stringList; } }