private MetricImpl getCommittedMetric(MetricImpl.MetricType metricType) {
        return (MetricImpl)committedMetrics.get(metricType.name());
    }
private MetricImpl getCommittedMetric ( MetricImpl . MetricType metricType ) { return ( MetricImpl ) committedMetrics . get ( metricType . name ( ) ) ; }
Since this is a non-trivial behavior to support, let's keep it internal rather than exposing it.