static int plus1UnlessNegative(int i) { ret i < 0 ? i : i+1; }
Began life as a copy of #1013572
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: | #1013573 |
Snippet name: | plus1UnlessNegative |
Eternal ID of this version: | #1013573/1 |
Text MD5: | 6c0108953c475402a7026e42df442a07 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-10 15:32:50 |
Source code size: | 66 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 423 / 429 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |