static int parseIntOrMinus1(S s) { ret empty(s) ? -1 : Integer.parseInt(s); }
Began life as a copy of #1000811
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: | #1012764 |
| Snippet name: | parseIntOrMinus1 |
| Eternal ID of this version: | #1012764/1 |
| Text MD5: | f4a6e368627d128752e6792eac683b62 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-11 22:44:27 |
| Source code size: | 81 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 635 / 666 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1020359 - parseIntOrNull #1028511 - parseIntOr |