mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/mp/MissionProgrammingMessageService.java
private List<MapEntry> translateParameters(final Map<String, Object> parameters)
    {
        //the list to return
        final List<MapEntry> entries = new ArrayList<MapEntry>();
        for (Entry<String, Object> entry : parameters.entrySet())
        {
            final MapEntry mapEntry = MapEntry.newBuilder().
                    setKey(entry.getKey()).
                    setValue(SharedMessageUtils.convertObjectToMultitype(entry.getValue())).build();
            entries.add(mapEntry);
        }
        return entries;
    }
/**
     * Create a list of map entries from the passed map.
     * @param parameters
     *     the map to translate
     * @return
     *     a list of map entries that are a protocol buffer equivalent of the passed map
     */
Create a list of map entries from the passed map.
@param parameters
the map to translate
@return
a list of map entries that are a protocol buffer equivalent of the passed map
Create a list of map entries from the passed map . @param parameters the map to translate @return a list of map entries that are a protocol buffer equivalent of the passed map
private List<MapEntry> translateParameters(final Map<String, Object> parameters)
    {
        final List<MapEntry> entries = new ArrayList<MapEntry>();
        for (Entry<String, Object> entry : parameters.entrySet())
        {
            final MapEntry mapEntry = MapEntry.newBuilder().
                    setKey(entry.getKey()).
                    setValue(SharedMessageUtils.convertObjectToMultitype(entry.getValue())).build();
            entries.add(mapEntry);
        }
        return entries;
    }
private List < MapEntry > translateParameters ( final Map < String , Object > parameters ) { final List < MapEntry > entries = new ArrayList < MapEntry > ( ) ; for ( Entry < String , Object > entry : parameters . entrySet ( ) ) { final MapEntry mapEntry = MapEntry . newBuilder ( ) . setKey ( entry . getKey ( ) ) . setValue ( SharedMessageUtils . convertObjectToMultitype ( entry . getValue ( ) ) ) . build ( ) ; entries . add ( mapEntry ) ; } return entries ; }
Create a list of map entries from the passed map.
Create a list of map entries from the passed map .
//the list to return