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

3
LINES

< > BotCompany Repo | #1029466 // parseInt_bounded

JavaX fragment (include)

static int parseInt_bounded(S s, int max, int defaultValue default max) {
  ret min(max, parseIntOr(s, defaultValue));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029466
Snippet name: parseInt_bounded
Eternal ID of this version: #1029466/2
Text MD5: cc2ac4e571bab8648a9fdc989b3b74d3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-14 16:01:04
Source code size: 122 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 198 / 241
Version history: 1 change(s)
Referenced in: [show references]