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

3
LINES

< > BotCompany Repo | #1032135 // oneOrZero_str

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

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

sS oneOrZero_str(bool b) {
  ret b ? "1" : "0";
}

Author comment

Began life as a copy of #1032134

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032135
Snippet name: oneOrZero_str
Eternal ID of this version: #1032135/2
Text MD5: 15fccf090885709458b800b81fd1bc10
Transpilation MD5: a8040e482da4eb0f9546d0a82b592a8d
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:49
Source code size: 51 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 66 / 113
Version history: 1 change(s)
Referenced in: [show references]