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

5
LINES

< > BotCompany Repo | #1022050 // maxOfInts_possiblyNull

JavaX fragment (include)

static Int maxOfInts_possiblyNull(Int a, Int b) {
  if (a == null) ret b;
  if (b == null) ret a;
  ret max(a, b);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022050
Snippet name: maxOfInts_possiblyNull
Eternal ID of this version: #1022050/1
Text MD5: 997d189a4d8bbdda1362bac3e48d37bf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-06 01:04:41
Source code size: 120 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 157
Referenced in: [show references]