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

3
LINES

< > BotCompany Repo | #1010842 - trueOrNull - convert true to TRUE, false to null

JavaX fragment (include)

static Bool trueOrNull(bool b) {
  ret b ? Boolean.TRUE : null;
}

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1010842
Snippet name: trueOrNull - convert true to TRUE, false to null
Eternal ID of this version: #1010842/1
Text MD5: 802fc76165050382c8f65b089112af09
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-04 18:32:24
Source code size: 67 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 210 / 190
Referenced in: [show references]

Formerly at http://tinybrain.de/1010842 & http://1010842.tinybrain.de