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

1
LINES

< > BotCompany Repo | #1035346 // withOrWithout - "with" or "without" depending on boolean

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

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

sS withOrWithout(bool b) { ret b ? "with" : "without"; }

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035346
Snippet name: withOrWithout - "with" or "without" depending on boolean
Eternal ID of this version: #1035346/3
Text MD5: a861ab8ebb9fbe487aa1a36a4a06ca0b
Transpilation MD5: 596f26c2c8165a12a3af9c5668ad34c4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-01 19:16:06
Source code size: 56 bytes / 1 line
Pitched / IR pitched: No / No
Views / Downloads: 54 / 91
Version history: 2 change(s)
Referenced in: [show references]