The interface that replaces Enumeration is the Iterator.
The API
doc says that new implementations should consider
using the Iterator over the Enumeration. I think in terms
of writing your own methods to accomplish the same thing as
Enumeration/Iterator, I would strongly suspect the library
methods will be as fast or faster.