Package modernfeatures.lambda
Class LambdaWithMultipleParametersExample
java.lang.Object
modernfeatures.lambda.LambdaWithMultipleParametersExample
Class: LambdaWithMultipleParametersExample
-------------------------------------------
Demonstrates how Java 8 Lambda expressions can be used with multiple parameters.
Lambdas simplify the implementation of functional interfaces.
Here, we use a Calculator interface that takes two integer parameters and returns an integer result.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LambdaWithMultipleParametersExample
public LambdaWithMultipleParametersExample()
-
-
Method Details
-
main
-