JNew Features
1. Project Jigsaw: Version numbers in jar files.
2. Project Lambda
3. JVM convergence JRockit and Hotspot
4. JavaFX 3.0
5. Javascript / Java interoperability Nashorn using invoke dynamic
6. Device Support
7. Annotations on types
8. API updates
What is Lambda expression?
Reusable functions. A function that can be passed around. A first class citizen like variables.
External and internal iterators.
Internal iterator forEach takes a lambda expression.
Have used defender methods which are optional methods defined in interfaces.
SAM Single Abstract Method.
In Collection.map map maps a collection to another collection but mapping through something in between.
Can use Lambda where runnable is expected.
No comments:
Post a Comment