static S addPrefixIfNotEmpty(S prefix, S s) { ret empty(s) ? "" : prefix + s; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1006586 |
| Snippet name: | addPrefixIfNotEmpty |
| Eternal ID of this version: | #1006586/1 |
| Text MD5: | b02081edf58f61ba002d0693ecb8310f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-19 00:07:49 |
| Source code size: | 83 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 795 / 895 |
| Referenced in: | [show references] |