library/src/main/java/com/kdgregory/aws/utils/cloudwatch/MetricReporter.java
/**
     *  Combines default dimensions with report-time dimensions and turns the result
     *  into a list.
     */
Combines default dimensions with report-time dimensions and turns the result
into a list.
Combines default dimensions with report - time dimensions and turns the result into a list .
private List<Dimension> createDimensionsList(Map<String,String> reportDimensions)
    {
        Map<String,String> combinedDimensions = new TreeMap<String,String>(defaultDimensions);
        combinedDimensions.putAll(reportDimensions);
        List<Dimension> result = new ArrayList<Dimension>();
        for (Map.Entry<String,String> entry : combinedDimensions.entrySet())
        {
            result.add(new Dimension().withName(entry.getKey()).withValue(entry.getValue()));
        }
        return result;
    }
private List < Dimension > createDimensionsList ( Map < String , String > reportDimensions ) { Map < String , String > combinedDimensions = new TreeMap < String , String > ( defaultDimensions ) ; combinedDimensions . putAll ( reportDimensions ) ; List < Dimension > result = new ArrayList < Dimension > ( ) ; for ( Map . Entry < String , String > entry : combinedDimensions . entrySet ( ) ) { result . add ( new Dimension ( ) . withName ( entry . getKey ( ) ) . withValue ( entry . getValue ( ) ) ) ; } return result ; }
Combines default dimensions with report-time dimensions and turns the result
  into a list.
Combines default dimensions with report - time dimensions and turns the result into a list .