Skip to content

Instantly share code, notes, and snippets.

@iyengarajay
Created August 22, 2016 08:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iyengarajay/54c26b8484fe51f67c7058fe12114b43 to your computer and use it in GitHub Desktop.
Save iyengarajay/54c26b8484fe51f67c7058fe12114b43 to your computer and use it in GitHub Desktop.
Function<Double,Double> combined = Stream.of(func1,func2)
.reduce(Function.identity(), Function::andThen);
combined.apply(1.0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment