sS addToCommaCISet(S set, S s) { if (empty(s)) ret set; Set<S> ciSet = splitAtCommaToCISet(set); ret ciSet.add(s) ? joinNemptiesWithComma(set, s) : set; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021120 |
Snippet name: | addToCommaCISet |
Eternal ID of this version: | #1021120/2 |
Text MD5: | f5851a6830ea80a1a6dca36c3c32cfe0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-23 17:50:23 |
Source code size: | 164 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 278 / 330 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |