code: @SuppressWarnings("unchecked")
      public static <K> Enumeration<K> enumeration(Enumeration<?> enumeration) {
  
          return (Enumeration<K>)enumeration;
      }
docs: Provides a wrapper to convert an enumeration that avoids warnings with Java 1.5 generic code.<p>
  
  @param <K> the type of the returned enumeration elements
  @param enumeration the enumeration to be converted
  
  @return a {@link Enumeration} with the required generic type