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

8
LINES

< > BotCompany Repo | #1001246 - parseLong

JavaX fragment (include)

1  
static long parseLong(String s) {
2  
  if (empty(s)) return 0;
3  
  return Long.parseLong(dropSuffix("L", s));
4  
}
5  
6  
static long parseLong(O s) {
7  
  return Long.parseLong((S) s);
8  
}

Author comment

Began life as a copy of #1000811

download  show line numbers  debug dex  old transpilations   

Travelled to 30 computer(s): aoiabmzegqzx, ayivmpnvhhik, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, hpgrupgrauku, ishqpsrjomds, jcllbfdqhrgy, jozkyjcghlvl, jtubtzbbkimh, lnbujpyubztb, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, mqsvbyillbrs, ofpaelxlmzfo, onxytkatvevr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1001246
Snippet name: parseLong
Eternal ID of this version: #1001246/2
Text MD5: ebee504f023279a0728e310ad298d7ac
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-08 17:32:41
Source code size: 177 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 597 / 7455
Version history: 1 change(s)
Referenced in: [show references]