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

3
LINES

< > BotCompany Repo | #1020413 // emptyIfSame

JavaX fragment (include)

sS emptyIfSame(S compareTo, S s) {
  ret eq(s, compareTo) ? "" : s;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020413
Snippet name: emptyIfSame
Eternal ID of this version: #1020413/1
Text MD5: 3fcfddddf13449b56ad8ce0d9298baa2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-19 21:40:23
Source code size: 71 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 281 / 328
Referenced in: [show references]