enumeration = entries.elements();
this.enumeration = enumeration;
Closes this enumeration.
Determines whether there are any more elements in the enumeration. return enumeration.hasMoreElements();
return enumeration.hasMoreElements();
Retrieves the next element in the enumeration. return nextElement();
return nextElement();
NamingEntry entry = (NamingEntry) enumeration.nextElement(); return new NameClassPair(entry.name, entry.value.getClass().getName());