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

3
LINES

< > BotCompany Repo | #1006351 // xmin - min that allows null

JavaX fragment (include)

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

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006351
Snippet name: xmin - min that allows null
Eternal ID of this version: #1006351/1
Text MD5: bc1745cde5888a6c2bbee74d95326e74
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-29 01:04:30
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 472 / 489
Referenced in: [show references]