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

8
LINES

< > BotCompany Repo | #1014086 // appendBracketed

JavaX fragment (include)

1  
static S appendBracketed(O o) {
2  
  S b = strOrNull(o);
3  
  ret empty(b) ? "" : "" + " (" + b + ")";
4  
}
5  
6  
static S appendBracketed(S a, S b) {
7  
  ret a + appendBracketed(b);
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1014086
Snippet name: appendBracketed
Eternal ID of this version: #1014086/4
Text MD5: cded9a887d72e03113eb663a4c7af094
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-28 13:57:41
Source code size: 175 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 423 / 485
Version history: 3 change(s)
Referenced in: [show references]