static <A> A doubleBoolSwitch(bool a, A onA, bool b, A onB, A onSame) { ret a && !b ? onA : b && !a ? onB : onSame; }
Began life as a copy of #1013863
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014625 | 
| Snippet name: | doubleBoolSwitch | 
| Eternal ID of this version: | #1014625/3 | 
| Text MD5: | 940e363e59f16337ac66759258c8e377 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-04-27 01:07:31 | 
| Source code size: | 121 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 552 / 592 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |