public static List list(Enumeration e)
   {
      ArrayList result = new ArrayList();
      while (e.hasMoreElements())
         result.add(e.nextElement());
      return result;
   }
public static List list(Enumeration e)
   {
      ArrayList result = new ArrayList();
      while (e.hasMoreElements())
         result.add(e.nextElement());
      return result;
   }
public static List list ( Enumeration e ) { ArrayList result = new ArrayList ( ) ; while ( e . hasMoreElements ( ) ) result . add ( e . nextElement ( ) ) ; return result ; }
Create a list from an enumeration

@param e the enumeration
@return the list
Create a list from an enumeration