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

3
LINES

< > BotCompany Repo | #1020359 // parseIntOrNull

JavaX fragment (include)

static Int parseIntOrNull(S s) {
  ret empty(s) ? null : Integer.parseInt(s);
}

Author comment

Began life as a copy of #1012764

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020359
Snippet name: parseIntOrNull
Eternal ID of this version: #1020359/1
Text MD5: a876e3b1620dc9f93628366756584844
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-16 14:54:15
Source code size: 81 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 257
Referenced in: [show references]