Sundarrajk's Weblog

Java 8 Sneak Preview by Venkat Subramanian

Posted on: April 19, 2012

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 map maps a collection to another collection but mapping through something in between.

Can use Lambda where runnable is expected.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: