convert Enumeration<String> to Enumeration<object>
<p>UPDATE:</p>

<pre><code>private final java.util.Properties tilesPropertyMap = new Properties();   

private class DelegatingServletConfig implements ServletConfig {   

        public String getServletName() {   
            return "TilesConfigurer";   
        }   

    public ServletContext getServletContext() {   
        return servletContext;   
    }   

    public String getInitParameter(String paramName) {   
        return tilesPropertyMap.getProperty(paramName);   
    }

    @Override
    public Enumeration&lt;String&gt; getInitParameterNames() {
       return tilesPropertyMap.keys(); // returns Enumeration&lt;Object&gt;
    }

}   
</code></pre>

<p><strong>UPDATE: i am implementing ServletConfig so i have to getInitParameterNames()</strong></p>

<p>how would i convert Enumeration &lt;String&gt; to Enumeration &lt;object&gt;?</p>
