static int parseIntOr(S s, int defaultValue) { ret empty(s) ? defaultValue : Integer.parseInt(s); }
Began life as a copy of #1012764
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028511 |
| Snippet name: | parseIntOr |
| Eternal ID of this version: | #1028511/1 |
| Text MD5: | 62dbbd552c8a0e0a7eedfb56243781ec |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-23 13:42:44 |
| Source code size: | 103 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 419 / 452 |
| Referenced in: | [show references] |