Libraryless. Click here for Pure Java version (3852L/22K).
1 | static <A> A or_calc(A a, IF0<A> b) { |
2 | ret a != null ? a : callF(b); |
3 | } |
4 | |
5 | static <A> A lambda0Like or_calc(IF0<A> b, A a) { |
6 | ret or_calc(a, b); |
7 | } |
Began life as a copy of #1032136
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032937 |
Snippet name: | or_calc function |
Eternal ID of this version: | #1032937/1 |
Text MD5: | 8133a79f2cfcb8e21da19ed551edd809 |
Transpilation MD5: | 76f34987bc7e6f9c295172d0fdad1f17 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 04:25:37 |
Source code size: | 151 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 164 / 242 |
Referenced in: | [show references] |