static int minUnlessMinus1(int a, int b) { ret a == -1 ? b : b == -1 ? a : min(a, b); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023397 | 
| Snippet name: | minUnlessMinus1 | 
| Eternal ID of this version: | #1023397/1 | 
| Text MD5: | 348d9df7ead18d50875d7d6690047c9b | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-06-17 20:00:27 | 
| Source code size: | 91 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 468 / 521 | 
| Referenced in: | [show references] |