static S addPrefixIfNotEmpty2(S prefix, S s) { ret empty(s) ? "" : addPrefix(prefix, s); }
Began life as a copy of #1006586
download show line numbers debug dex old transpilations
Travelled to 23 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gjtlkbvenryc, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, lqnftawlhpir, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, qsqiayxyrbia, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, wnsclhtenguj, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1011947 |
Snippet name: | addPrefixIfNotEmpty2 - add if not there |
Eternal ID of this version: | #1011947/2 |
Text MD5: | 6f15a0deba8a357b1f9b67ad8963a800 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-01 12:02:36 |
Source code size: | 94 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 614 / 7049 |
Version history: | 1 change(s) |
Referenced in: | [show references] |