1 | static L<S> ocr_joinGroups2(L<S> l) { |
2 | new L<S> l2; |
3 | for (S s : l) |
4 | l2.add(s.startsWith("[") && s.endsWith("]") ? substring(s, 1, l(s)-1) : s); |
5 | ret l2; |
6 | } |
Began life as a copy of #1006199
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006257 |
Snippet name: | ocr_joinGroups2 |
Eternal ID of this version: | #1006257/1 |
Text MD5: | ab1ca50dadb5f01c125f19bd3e363b7f |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-26 00:25:33 |
Source code size: | 165 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 536 / 548 |
Referenced in: | [show references] |