Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1017334 // parseLeadingLong - parse leading long value in string

JavaX fragment (include)

static long parseLeadingLong(String s) {
  int i = endOfLeadingInteger(s);
  ret i > 0 ? parseLong(takeFirst(i, s)) : 0;
}

Author comment

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: 357 / 397
Version history: 2 change(s)
Referenced in: [show references]