I have an Enumeration object and I want to create a Collection object containing the items of the enumeration.
Is there any Java function to do this without manually iterating over the enumeration? Something like the reverse of the Collections.enumeration
method?