Is there some one-liner bridge method to dump a given Enumeration to java.util.List
or java.util.Set
?
Something built-in like Arrays.asList()
or Collection.toArray()
should exist somewhere, but I’m unable to find that in my IntelliJ debugger’s evaluator window (and Google/SO results, too).