public boolean getAsBooleanWithDefault ( String key , boolean defaultValue ) { Object value = getAsObject ( key ) ; return BooleanConverter . toBooleanWithDefault ( value , defaultValue ) ; }
Converts map element into a boolean or returns default value if conversion is not possible .