question: public static Metrics create ( Map < String , String > dimensionMap ) { Map < String , String > map = Maps . newTreeMap ( ) ; map . putAll ( dimensionMap ) ; return new Metrics ( Collections . unmodifiableMap ( map ) ) ; }
target:  Creates a metrics object with the dimensions map immutable