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

3
LINES

< > BotCompany Repo | #1032134 // oneOrZero

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (28L/1K).

static int oneOrZero(bool b) {
  ret b ? 1 : 0;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032134
Snippet name: oneOrZero
Eternal ID of this version: #1032134/1
Text MD5: ebdecbb0a19aae56c216245cfe39fb26
Transpilation MD5: 9a6e1cfeb9ec970bec0bc6a993af731f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-14 06:32:05
Source code size: 51 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 69 / 113
Referenced in: [show references]