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

3
LINES

< > BotCompany Repo | #1026036 // min_withNull

JavaX fragment (include)

1  
static Int min_withNull(Int a, Int b) {
2  
  ret a == null ? b : b == null ? a : (Int) min(a, b);
3  
}

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: #1026036
Snippet name: min_withNull
Eternal ID of this version: #1026036/2
Text MD5: 2195ff13873379032845a3b29f25c241
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-07 01:44:51
Source code size: 98 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 173 / 222
Version history: 1 change(s)
Referenced in: [show references]