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

8
LINES

< > BotCompany Repo | #1001246 - parseLong

JavaX fragment (include)

static long parseLong(String s) {
  if (empty(s)) return 0;
  return Long.parseLong(dropSuffix("L", s));
}

static long parseLong(O s) {
  return Long.parseLong((S) s);
}

Author comment

Began life as a copy of #1000811

download  show line numbers  debug dex   

Travelled to 24 computer(s): aoiabmzegqzx, ayivmpnvhhik, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, hpgrupgrauku, ishqpsrjomds, jcllbfdqhrgy, jozkyjcghlvl, jtubtzbbkimh, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, mqsvbyillbrs, ofpaelxlmzfo, onxytkatvevr, podlckwnjdmb, sawdedvomwva, snaazhdonpnp, tslmcundralx, tvejysmllsmz, 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: 491 / 5616
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1001246 & http://1001246.tinybrain.de