2 ms·
You can write wrapper which takes function that can throw anything and returns regular java.util.function.Function. Here's example: https://github.com/rainerhah
by vbezhenar 8y ago
You can write wrapper which takes function that can throw anything and returns regular java.util.function.Function. Here's example: https://github.com/rainerhahnekamp/sneakythrow/blob/master/src/main/java/com/rainerhahnekamp/sneakythrow/Sneaky.java https://github.com/rainerhahnekamp/sneakythrow/blob/master/s...