question: private static int parseInt ( String str , int defaultValue ) { if ( str == null ) return defaultValue ; return Integer . parseInt ( str ) ; }
target:  Parse the given string as an integer, returning the provided default value if the string is null.