I would like to convert typical if-else statement into java-8 code. Example:
if(helperMethod(someString)){ someMethod() } else{ someOtherMethod(); } } public boolean helperMethod(){ /* helper method implementation - return boolean }
Aucun commentaire:
Enregistrer un commentaire