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

4
LINES

< > BotCompany Repo | #1026683 // parseLeadingLong

JavaX fragment (include)

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

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: #1026683
Snippet name: parseLeadingLong
Eternal ID of this version: #1026683/1
Text MD5: 3ba2e4c4b1398d3fb4d119ce57b9a824
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-18 23:15:23
Source code size: 120 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 199 / 228
Referenced in: