Re: SerializableFunction composition operator

2017-05-25 Thread Kenneth Knowles
Hi Wesley, It does seem useful to have combinators for SerializationFunction like you would expect for any function. One limitation to making this really nice is that we want to continue to be Java 7 compatible, so it is not possible to add method bodies to the interface. Kenn On Wed, May 24, 20

SerializableFunction composition operator

2017-05-24 Thread Wesley Tanaka
Does the Java API have a composition operator for SerializableFunction?  It seems like these two compositions in particular might tend to pop up from time to time: myFunction(KV::getValue(x)) myFunction(KV::getKey(x)) If there isn't already one, would there be interest in a contribution of one