Libraryless. Click here for Pure Java version (4576L/25K).
1 | static LS trimAll(S... l) {
|
2 | ret trimAll(asList(l)); |
3 | } |
4 | |
5 | static LS trimAll(Cl<S> l) {
|
6 | new LS l2; |
7 | if (l != null) for (S s : l) |
8 | l2.add(trim(s)); |
9 | ret l2; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, qsqiayxyrbia, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003055 |
| Snippet name: | trimAll - trim all strings in a list |
| Eternal ID of this version: | #1003055/6 |
| Text MD5: | acad276c665b56372cf6ff4cf14c7f7d |
| Transpilation MD5: | 30648a7bebdad04768a26680e1f7b427 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-15 20:39:42 |
| Source code size: | 171 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1035 / 1100 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |