Skip to content

Instantly share code, notes, and snippets.

@gszeliga
Last active December 9, 2015 22:29
Embed
What would you like to do?
CompletableFuture<Outcome<String>> textf =
completedFuture(maybe("And the number is %s!"));
CompletableFuture<Outcome<Integer>> numberf =
completedFuture(maybe(22));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment