Java tutorial
//package com.java2s; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class Main { public static List<String> getValuesNames(List source) { Iterator it = source.iterator(); List clone = new ArrayList(); while (it.hasNext()) { String name = it.next().toString(); clone.add(name); } return clone; } }