Most concise way to convert a Set to a List
For example, I am currently doing this: Set<String> setOfTopicAuthors = …. List<String> list = Arrays.asList( setOfTopicAuthors.toArray( new String[0] ) ); Can you beat … Read more
For example, I am currently doing this: Set<String> setOfTopicAuthors = …. List<String> list = Arrays.asList( setOfTopicAuthors.toArray( new String[0] ) ); Can you beat … Read more