private static String getValue ( Map < String , String > map , String keyName ) { String value = map . get ( keyName ) ; return value == null ? "-" : value ; }
Retrieve value from the map corresponding to the given key .