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

3
LINES

< > BotCompany Repo | #1012764 // parseIntOrMinus1

JavaX fragment (include)

static int parseIntOrMinus1(S s) {
  ret empty(s) ? -1 : Integer.parseInt(s);
}

Author comment

Began life as a copy of #1000811

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012764
Snippet name: parseIntOrMinus1
Eternal ID of this version: #1012764/1
Text MD5: f4a6e368627d128752e6792eac683b62
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-11 22:44:27
Source code size: 81 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 382 / 406
Referenced in: [show references]