First-class functions/Use numbers analogously: Difference between revisions
Content deleted Content added
New post. |
m Minor correction to code. |
||
Line 837:
=={{header|Java}}==
<syntaxhighlight lang="java">
import java.util.List;
import java.util.function.BiFunction;
Line 849 ⟶ 848:
z = x + y, zi = 1.0 / ( x + y );
List<Double> list =
List<Double> inverseList =
BiFunction<Double, Double, Function<Double, Double>> multiplier = (a, b) -> product -> a * b * product;
|