1 | static long parseLeadingLong(String s) { |
2 | int i = endOfLeadingInteger(s); |
3 | ret i > 0 ? parseLong(takeFirst(i, s)) : 0; |
4 | } |
Began life as a copy of #1005548
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1017334 |
Snippet name: | parseLeadingLong - parse leading long value in string |
Eternal ID of this version: | #1017334/3 |
Text MD5: | 94ec178d8195cda2d055903c84c8015b |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-18 23:16:10 |
Source code size: | 125 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 506 |
Version history: | 2 change(s) |
Referenced in: | [show references] |