Instead of wrapping it in an optional you can do Objects.requireNonNullElse(value, defaultValue)
presumably_wrong
joined 1 year ago
Instead of wrapping it in an optional you can do Objects.requireNonNullElse(value, defaultValue)
I'd hope they come here but get a refresh. /r/cscareeradvice was basically just a circlejerk of you have to grind leetcode and work at faang or you're useless.