[jruby-user] java interoperation; lambda to callbacks?
Peter Lauck <[email protected]> Fri, 22 May 2015 13:44:25 -0400
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CAJLVirVht+cTvoRNwjFzq4gSrmS7i0mAPAbbMvyo7OXauqPiuA@mail.gmail.com> |
--001a11c1193a141af40516af36c3 Content-Type: text/plain; charset=UTF-8 Hey I have a quick question. Will jruby convert my lambdas to java callbacks? To be more specific, I'm working with JavaFX (with JRubyFX) and I have a method setCellValueFactory() that expects takes a java Callback as a parameter. Since Java 8 added lambdas, the java code might be something like this: - Peter Lauck --001a11c1193a141af40516af36c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hey I have a quick question. Will jruby convert my lambdas= to java callbacks? To be more specific, I'm working with JavaFX (with = JRubyFX) and I have a method setCellValueFactory() that expects takes a jav= a Callback as a parameter. Since Java 8 added lambdas, the java code might = be something like this:<br clear=3D"all"><div><div class=3D"gmail_signature= "><div dir=3D"ltr">- Peter Lauck</div></div></div> </div> --001a11c1193a141af40516af36c3--