-
-
Save iyengarajay/54c26b8484fe51f67c7058fe12114b43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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