Re: [LANG] Checked Functions PR

2019-01-30 Thread Aleksander Ściborek
Yes i saw https://gitbox.apache.org/repos/asf?p=commons-lang.git;a=blob_plain;f=src/main/java/org/apache/commons/lang3/Functions.java;h=5eaed0c6fa8dbb8ed7a2ba37d499130ba62f138b;hb=HEAD, unfortunately it was created after I had developed my interfaces. I saw there are some difference, like no metho

Re: [LANG] Checked Functions PR

2019-01-30 Thread Pascal Schumacher
Am 30.01.2019 um 20:27 schrieb Jochen Wiedmann: Have you seen [1]? 1: https://gitbox.apache.org/repos/asf?p=commons-lang.git;a=blob_plain;f=src/main/java/org/apache/commons/lang3/Functions.java;h=5eaed0c6fa8dbb8ed7a2ba37d499130ba62f138b;hb=HEAD By the way: https://github.com/apache/commons-l

Re: [LANG] Checked Functions PR

2019-01-30 Thread Jochen Wiedmann
On Tue, Jan 29, 2019 at 1:04 AM Aleksander Ściborek wrote: > The idea behind this is that you can create an instance of a function which > throws a checked exception and then using a static method create an > instance of standard function which invocation of a checked functions. Have you seen [1

Re: [LANG] Checked Functions PR

2019-01-30 Thread Aleksander Ściborek
I'm going to add those functionalities (default methods). On Tue, 29 Jan 2019 at 16:56, Matt Sicker wrote: > I like this idea in theory. What would really make this shine is > including similar default methods as the unchecked classes. > Matt Sicker > >

Re: [LANG] Checked Functions PR

2019-01-29 Thread Matt Sicker
I like this idea in theory. What would really make this shine is including similar default methods as the unchecked classes. On Mon, 28 Jan 2019 at 18:04, Aleksander Ściborek wrote: > > I've just created pull request > to a set of functions > whi

[LANG] Checked Functions PR

2019-01-28 Thread Aleksander Ściborek
I've just created pull request to a set of functions which are wrappers for standard interfaces from java.util.function. The idea behind this is that you can create an instance of a function which throws a checked exception and then using a static