JavaFX8: functional interface API for Propertys
Richard Bair
richard.bair at oracle.com
Mon Jan 7 13:54:51 PST 2013
I'm not exactly sure what you're asking, but JavaFX was designed with Single Abstract Method interfaces (SAM interfaces) from the get-go, knowing that this was the main requirement in order to use Lambda's automatic closure conversion feature. This means, most every place in JavaFX that takes an interface (such as a Runnable, an EventHandler, a Callback) will work directly with lambda's. Also some functionality was omitted in JavaFX 2.x (such as filtering / sorting) because we knew that knew APIs were being added to Java 8 that would impact our API design and wanted to make sure we waited for those new APIs (such as Predicate).
Richard
On Jan 3, 2013, at 9:33 AM, Bilal Soidik <bilalsoidik at gmail.com> wrote:
> Hi!
> Just I'm asking about javafx8, it will be there an API for functional
> interfaces to manipulate propertys in lambda expression , like this package
> java.util.function<http://download.java.net/lambda/b69/docs/api/java/util/function/package-summary.html>
> that
> provides typing for lambda expressions or you think that it is
> not necessary to have it. May you give us clarification.
> May you also tel us about lambba expressions revolution in JavaFX8. Thank!
>
> --
> *Bilal Soidiki Mpapandza*
> *Etudiant en Master Spé. Qualité du Logiciel, FS UIT*
> *Ingénieur logiciel et Développeur Java, C/C++,.NET et PHP*
> *Tél. *:*(+212) 602746546*
> *Blog *:* http://la-lune-1.blogspot.com *
> *Twitter *:* bilaalsoidik*
> *Skype *:* bilalsoidik*
More information about the openjfx-dev
mailing list