Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This could be accomplished using Optional#orElseGet without any additional library dependencies, though.


That's true. I didn't think of doing that. Nice!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: