serializable versions of java 8 functional interfaces

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

serializable versions of java 8 functional interfaces

Alexandre Boudnik
Hello,

In order to use java 8 lambdas, we've developed serialized versions of a
few java.util.function interfaces.

I'm going to make similar improvements on IgniteClosure, IgnitePredicate,
etc


Take care,
Alexandre "Sasha" Boudnik

call me via Google Voice:
1(405) BUDNIKA
1(405) 283-6452
Reply | Threaded
Open this post in threaded view
|

Re: serializable versions of java 8 functional interfaces

dsetrakyan
Thanks, Alex, this is useful. Is there a Jira ticket for it? If not, can
you create one?

On Wed, Oct 25, 2017 at 12:05 PM, Alexandre Boudnik <
[hidden email]> wrote:

> Hello,
>
> In order to use java 8 lambdas, we've developed serialized versions of a
> few java.util.function interfaces.
>
> I'm going to make similar improvements on IgniteClosure, IgnitePredicate,
> etc
>
>
> Take care,
> Alexandre "Sasha" Boudnik
>
> call me via Google Voice:
> 1(405) BUDNIKA
> 1(405) 283-6452
>
Reply | Threaded
Open this post in threaded view
|

Re: serializable versions of java 8 functional interfaces

Yuriy Babak
In reply to this post by Alexandre Boudnik
Hello Alexandre,

We already have serializable functional interfaces in ML module in package
org.apache.ignite.ml.math.functions.

Regards,
Yury



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: serializable versions of java 8 functional interfaces

Yuriy Babak
Currently for ml we have the following interfaces:
* IgniteBiConsumer
* IgniteBiFunction
* IgniteConsumer
* IgniteDoubleFunction
* IgniteFunction
* IgniteIntDoubleToDoubleBiFunction
* IgniteIntIntToIntBiFunction
* IgniteTriFunction
* IntDoubleToVoidFunction
* IntIntToDoubleFunction

So we could move at least some of those interfaces from ml module to core
module. I mean not ml specific interfaces.

Regards,
Yury





--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/