Libraryless. Click here for Pure Java version (2507L/16K).
1 | static L collect(Iterable c, S field) {
|
2 | ret collectField(c, field); |
3 | } |
4 | |
5 | static L mapMethodLike collect(S field, Iterable c) {
|
6 | ret collectField(c, field); |
7 | } |
8 | |
9 | /*ifclass Concept |
10 | static L collect(Class c, S field) {
|
11 | ret collect(list(c), field); |
12 | } |
13 | endif |
14 | TODO: make translator ignore stuff in ifclass until resolved |
15 | */ |
Began life as a copy of #1002318
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1003047 |
| Snippet name: | collect - extended synonym of collectField |
| Eternal ID of this version: | #1003047/8 |
| Text MD5: | 5e79132f7af6f060d99f26f1d7e96543 |
| Transpilation MD5: | a9d48de2d53c3498083560e5986620d9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-11-21 00:14:38 |
| Source code size: | 331 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1348 / 1934 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |