public static List<String> asStringList(Collection<? extends Object> objects){
  List<String> list=new ArrayList<>();
  for (  Object object : objects) {
    list.add(String.valueOf(object));
  }
  return list;
}

public static List < String > asStringList ( Collection < ? extends Object > objects ) { List < String > list = new ArrayList < > ( ) ; for ( Object object : objects ) { list . add ( String . valueOf ( object ) ) ; } return list ; }
returns a list of strings , where the strings are the result of calling string . valueof ( object ) of each object in the given collection .
