public long getAsLongWithDefault ( String key , long defaultValue ) { Object value = getAsObject ( key ) ; return LongConverter . toLongWithDefault ( value , defaultValue ) ; }
Converts map element into a long or returns default value if conversion is not possible .