question: private void checkValidity ( SortedMap < String , String > mapping ) throws AdeUsageException { StringBuilder bldinvalidMaps = null ; for ( String key : mapping . keySet ( ) ) { if ( ! m_allKeys . contains ( key ) ) { if ( bldinvalidMaps == null ) { bldinvalidMaps = new StringBuilder ( key ) ; } else { bldinvalidMaps . append ( ", " + key ) ; } } } if ( bldinvalidMaps != null && bldinvalidMaps . toString ( ) != null ) { throw new AdeUsageException ( "The following result mapping were not found: " + bldinvalidMaps . toString ( ) + ". Valid staistics are " + m_allKeys ) ; } }
target:  Verify all the names that are keys in the given map are contained as statistics in this object    