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

3
LINES

< > BotCompany Repo | #1036271 // signToUpDown

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

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

sS signToUpDown(int sign) {
  ret sign == 0 ? "" : sign > 0 ? "up" : "down";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036271
Snippet name: signToUpDown
Eternal ID of this version: #1036271/2
Text MD5: eb093c0f112c2fe262fd82e6c07a9605
Transpilation MD5: e71f8a585dc5bff3044e6bede2f78102
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-07 09:17:43
Source code size: 80 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 182
Version history: 1 change(s)
Referenced in: [show references]