Libraryless. Click here for Pure Java version (2781L/16K).
1 | static int[] mapToIntArray(O f, Collection l) {
|
2 | ret toIntArray(map(f, l)); |
3 | } |
4 | |
5 | static int[] mapToIntArray(O f, O[] l) {
|
6 | ret toIntArray(map(f, l)); |
7 | } |
8 | |
9 | static <A> int[] mapToIntArray(Cl<A> l, IF1<A, Int> f) {
|
10 | ret mapToIntArray((O) f, l); |
11 | } |
Began life as a copy of #1015538
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1015540 |
| Snippet name: | mapToIntArray - UNOPTIMIZED! |
| Eternal ID of this version: | #1015540/7 |
| Text MD5: | 766499fec5a2ef9af8096b63f0611ce1 |
| Transpilation MD5: | 864fc903c6b67b92cbd63f41e05dc731 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-01-07 17:52:20 |
| Source code size: | 252 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 601 / 761 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |