mil.dod.th.ose.shared/src/mil/dod/th/ose/shared/SharedMessageUtils.java
public static Map<String, Object> convertListSimpleTypesMapEntrytoMapStringObject(
            final List<SimpleTypesMapEntry> listMap) 
    {
        final Map<String, Object> map = new HashMap<>();
        for (SimpleTypesMapEntry entry: listMap)        
        {
            if (map.get(entry.getKey()) != null)
            {
                throw new IllegalArgumentException("The Map cannot have duplicate keys."); 
                
            }
            map.put(entry.getKey(), convertMultitypeToObject(entry.getValue()));   
    
        }
        return map;
    }
/**
     * Converts a list of SimpleTypesMapEntry used by the remote interface to a native java type Map object.
     * @param listMap
     *    list of map entries
     * @return
     *    Map object that has the keys and converted values   
     */
Converts a list of SimpleTypesMapEntry used by the remote interface to a native java type Map object.
@param listMap
list of map entries
@return
Map object that has the keys and converted values
Converts a list of SimpleTypesMapEntry used by the remote interface to a native java type Map object . @param listMap list of map entries @return Map object that has the keys and converted values
public static Map<String, Object> convertListSimpleTypesMapEntrytoMapStringObject(
            final List<SimpleTypesMapEntry> listMap) 
    {
        final Map<String, Object> map = new HashMap<>();
        for (SimpleTypesMapEntry entry: listMap)        
        {
            if (map.get(entry.getKey()) != null)
            {
                throw new IllegalArgumentException("The Map cannot have duplicate keys."); 
            }
            map.put(entry.getKey(), convertMultitypeToObject(entry.getValue()));   
        }
        return map;
    }
public static Map < String , Object > convertListSimpleTypesMapEntrytoMapStringObject ( final List < SimpleTypesMapEntry > listMap ) { final Map < String , Object > map = new HashMap < > ( ) ; for ( SimpleTypesMapEntry entry : listMap ) { if ( map . get ( entry . getKey ( ) ) != null ) { throw new IllegalArgumentException ( "The Map cannot have duplicate keys." ) ; } map . put ( entry . getKey ( ) , convertMultitypeToObject ( entry . getValue ( ) ) ) ; } return map ; }
Converts a list of SimpleTypesMapEntry used by the remote interface to a native java type Map object.
Converts a list of SimpleTypesMapEntry used by the remote interface to a native java type Map object .