Skip to content

orElseGet() update

Choose a tag to compare

@JasonStorey JasonStorey released this 10 Feb 22:49
· 38 commits to master since this release

orElseGet() now supports taking a supplier function as an argument

Optional.ofNullable('foo').orElseGet(()=>'bar');

#3