public static List<String> toNamesSorted(List<? extends IResource> resources) { ArrayList<String> names = new ArrayList<String>(); for (IResource resource : resources) { names.add(resource.getName()); } Collections.sort(names); return names; }
public static List<String> toNamesSorted(List<? extends IResource> resources) { ArrayList<String> names = new ArrayList<String>(); for (IResource resource : resources) { names.add(resource.getName()); } Collections.sort(names); return names; }