Libraryless. Click here for Pure Java version (9514L/52K).
1 | static <A, B, C> F2<A, B, C> if2ToF2(IF2<A, B, C> f) {
|
2 | ret f == null ? null : func(A a, B b) -> C { f.get(a, b) };
|
3 | } |
Began life as a copy of #1028949
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036245 |
| Snippet name: | if2ToF2 |
| Eternal ID of this version: | #1036245/1 |
| Text MD5: | 7bd79f98ae428489bd6df7840bb24b5d |
| Transpilation MD5: | 986fccdf52af5435a6ff427a9165f026 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-02 23:02:24 |
| Source code size: | 120 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 412 / 523 |
| Referenced in: | [show references] |