例如,我目前正在这样做:
Set<String> setOfTopicAuthors = .... List<String> list = Arrays.asList( setOfTopicAuthors.toArray( new String[0] ) );
你能打败这个吗?
List<String> list = new ArrayList<String>(listOfTopicAuthors);