DoubleToLongFunction function ( long arg0 , Consumer < Exception > arg1 ) { return argument -> { try { return applyAsLongThrowing ( argument ) ; } catch ( Exception loc0 ) { if ( arg1 != null ) { arg1 . accept ( loc0 ) ; } return arg0 ; } } ; }
returns a doubletolongfunction returning the given value if this function throws an exception . concode_field_sep PlaceHolder placeHolder concode_field_sep long applyAsLong concode_elem_sep ThrowingDoubleToLongFunction orTryWith concode_elem_sep ThrowingDoubleToLongFunction orTryWith concode_elem_sep long applyAsLongThrowing concode_elem_sep DoubleToLongFunction fallbackTo concode_elem_sep DoubleToLongFunction fallbackTo concode_elem_sep ThrowingDoubleToLongFunction orThrow concode_elem_sep ThrowingDoubleToLongFunction orThrow