mil.dod.th.ose.utils/src/mil/dod/th/ose/utils/ConfigurationUtils.java
public static <K, V> Map<K, V> convertDictionaryPropsToMap(final Dictionary<K, V> props)
    {
        final Map<K, V> map = new HashMap<>();
        
        final Enumeration<K> keys = props.keys();
        while (keys.hasMoreElements())
        {
            final K key = keys.nextElement();
            map.put(key, props.get(key));
        }
        
        return map;
    }
/**
     * Create a {@link Map} from the incoming {@link Dictionary}.
     * 
     * @param <K>
     *      type of the key for this Dictionary
     * @param <V>
     *      type of the value for this Dictionary
     * @param props
     *      dictionary of properties to convert
     * @return
     *      map of converted from the dictionary
     */
Create a  Map from the incoming  Dictionary.

@param 
type of the key for this Dictionary
@param 
type of the value for this Dictionary
@param props
dictionary of properties to convert
@return
map of converted from the dictionary
Create a Map from the incoming Dictionary . @param type of the key for this Dictionary @param type of the value for this Dictionary @param props dictionary of properties to convert @return map of converted from the dictionary
public static <K, V> Map<K, V> convertDictionaryPropsToMap(final Dictionary<K, V> props)
    {
        final Map<K, V> map = new HashMap<>();
        final Enumeration<K> keys = props.keys();
        while (keys.hasMoreElements())
        {
            final K key = keys.nextElement();
            map.put(key, props.get(key));
        }
        return map;
    }
public static < K , V > Map < K , V > convertDictionaryPropsToMap ( final Dictionary < K , V > props ) { final Map < K , V > map = new HashMap < > ( ) ; final Enumeration < K > keys = props . keys ( ) ; while ( keys . hasMoreElements ( ) ) { final K key = keys . nextElement ( ) ; map . put ( key , props . get ( key ) ) ; } return map ; }
Create a {@link Map} from the incoming {@link Dictionary}.
Create a { @link Map } from the incoming { @link Dictionary } .