public Try < V > recover ( Function < Throwable , V > recoverFunction ) { if ( isFailure ( ) ) { return succeeded ( recoverFunction . apply ( throwable ) ) ; } return this ; }
Called the recover function of the Try failed otherwise returns this if it was successful .