File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
24
24
- [ ThrowXxxx] ( https://github.com/lokic/java-plus/tree/master/src/main/java/com/github/lokic/javaplus/functional/throwable )
25
25
:抛出受检异常的FunctionalInterface
26
- - [ SneakythrowXxxx ] ( https://github.com/lokic/java-plus/blob/master/src/main/java/com/github/lokic/javaplus/functional/sneakythrows )
26
+ - [ SneakythrowsXxxx ] ( https://github.com/lokic/java-plus/blob/master/src/main/java/com/github/lokic/javaplus/functional/sneakythrows )
27
27
:偷偷抛出受检异常的FunctionalInterface
28
28
- 在函数式编程中,如果调用一些方法是会抛出受检异常的,又希望lambda在碰到异常的情况下直接结束,就需要在lambda中强制try catch,然后转换成非受检异常抛出,这么做多了一层转换甚是繁琐。
29
29
- 使用 SneakyThrowXxxx 的FunctionInterface,可以直接把受检异常变成非受检异常抛出,且不需要任何异常类的重新包装,
41
41
42
42
- [ EntryFunctional] ( https://github.com/lokic/java-plus/blob/master/src/main/java/com/github/lokic/javaplus/functional/entry/EntryFunctional.java )
43
43
: 转换成Entry相关FunctionalInterface
44
- - [ SneakyThrowFunctional ] ( https://github.com/lokic/java-plus/blob/master/src/main/java/com/github/lokic/javaplus/functional/sneakythrows/SneakyThrowFunctional .java )
44
+ - [ SneakyThrowsFunctional ] ( https://github.com/lokic/java-plus/blob/master/src/main/java/com/github/lokic/javaplus/functional/sneakythrows/SneakyThrowsFunctional .java )
45
45
:转换成SneakyThrow相关的FunctionalInterface
46
46
- [ TupleFunctional] ( https://github.com/lokic/java-plus/blob/master/src/main/java/com/github/lokic/javaplus/functional/tuple/TupleFunctional.java )
47
47
:转换成Tuple(元组)相关的FunctionalInterface
You can’t perform that action at this time.
0 commit comments