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

5
LINES

< > BotCompany Repo | #1000708 // parseSnippetID

JavaX fragment (include)

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

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, 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: 864 / 9913
Referenced in: [show references]