1 | static S textOut_or_orAll(L<S> l) {
|
2 | S s = textOut_or(l); |
3 | if (l(l) > 2) ret s + " or all of these"; |
4 | if (l(l) == 2) ret s + " or both"; |
5 | ret s; |
6 | } |
Began life as a copy of #1017496
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017500 |
| Snippet name: | textOut_or_orAll - join strings as "a, b or c or all of these" |
| Eternal ID of this version: | #1017500/3 |
| Text MD5: | eb27f80758b82c7ae41cd50313305a06 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-24 00:32:15 |
| Source code size: | 155 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 512 / 563 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |