OCPJP 1.6
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
How long did it take for you to know about passing and returning objects to and from methods respectively?
OCPJP 1.6
Cay Horstmann wrote:It's just a function without a name.
JPA 2.1.0
Glassfish 3.1->4, Wildfly, Primefaces 3.4->4
daniele licitra wrote:
Cay Horstmann wrote:It's just a function without a name.
So, Java8 don't introduce something like functional programming?
In languages like Scheme or Haskell, you can define a function that get a function like input and return also a function.
for example, in pseudo code
sum(x, y) can get in input two function, two string, two number and return the function x+y
Is this implemented?
Mike. J. Thompson wrote:
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Spoor wrote:
Mike. J. Thompson wrote:
You mean myMethod(Integer::sum), right? Integer, Long, Float and Double all have sum, min and max methods added just so you can use them in lambdas.
Mike. J. Thompson wrote: lazy evaluation
JPA 2.1.0
Glassfish 3.1->4, Wildfly, Primefaces 3.4->4