public String getString ( String key , Supplier < String > notFound ) { Object object = getObject ( key ) ; return ( object instanceof String ) ? ( String ) object : notFound . get ( ) ; }
Retrieve a mapped element and return it as a String .