Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Java FX 8 Essentials

You're reading from   Java FX 8 Essentials Create amazing Java GUI applications with this hands-on, fast-paced guide

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781784398026
Length 224 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Java SE 8 features

We will scratch the surface of Java SE 8 to understand two of the most important features – lambda or lambda expressions and functional interfaces, which make the lambdas available to us, to help write better, concise, and low-boilerplate JavaFX 8 code. However, keep in mind that we will not address every lambda detail in this book, as this is not a Java SE 8 book.

Note

To get a better idea of Java's lambda roadmap, visit the following official tutorial: http://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html.

Lambda expressions

The primary goal of project lambda in the Java language is to address the lack of functional programming and provide a way to do functional programming easily by creating anonymous (unnamed) functions in a similar manner to creating anonymous objects instead of methods in Java.

As you saw in the example from Chapter 1, Getting Started with JavaFX 8, we talked about the usual approach for defining a handler for the pressed...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image