Enumeration names = category.getCategoryNames();
Enumeration<String> names = category.getCategoryNames();
    private void addCategory( Categorized category ) {        Enumeration names = category.getCategoryNames();        while ( names.hasMoreElements() ) {            categories.put( names.nextElement(), category );        }    }