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

5
LINES

< > BotCompany Repo | #1000708 - parseSnippetID

JavaX fragment (include)

public static long parseSnippetID(String snippetID) {
  long id = Long.parseLong(shortenSnippetID(snippetID));
  if (id == 0) fail("0 is not a snippet ID");
  ret id;
}

download  show line numbers  debug dex   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, yanjaxplzisb

No comments. add comment

Snippet ID: #1000708
Snippet name: parseSnippetID
Eternal ID of this version: #1000708/1
Text MD5: 4189f602f06f7370ad8f388fccb7f326
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-31 17:36:15
Source code size: 172 bytes / 5 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 551 / 9485
Referenced in: [show references]

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