1 | static S ocr_joinAsGrouped(L<S> l) { |
2 | new StringBuilder buf; |
3 | for (S s : l) |
4 | if (l(s) == 1 || l(s) == 2 && s.charAt(0) == '\\') |
5 | buf.append(s); |
6 | else |
7 | buf.append("[").append(s).append("]"); |
8 | ret str(buf); |
9 | } |
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: | #1006200 |
Snippet name: | ocr_joinAsGrouped |
Eternal ID of this version: | #1006200/2 |
Text MD5: | 85f6b98bbf57caed0e297b88c56b37d1 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-11 00:23:03 |
Source code size: | 233 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 599 / 595 |
Version history: | 1 change(s) |
Referenced in: | [show references] |