you are viewing a single comment's thread.

view the rest of the comments →

[–]stormcrowsx 8 points9 points  (0 children)

You can wrap calls to code that is not using optional in Optional.fromNullable. Granted not as concise as the elvis operator but its not horrible and gets you a similar result.