1 | static L vMap(fO f, fL l) {
|
2 | if (l == null) null; |
3 | ret new RandomAccessAbstractList() {
|
4 | public int size() { ret l.size(); }
|
5 | public O get(int i) { ret callF(f, l.get(i)); }
|
6 | }; |
7 | } |
Began life as a copy of #1013969
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014833 |
| Snippet name: | vMap - map virtually (on access) |
| Eternal ID of this version: | #1014833/4 |
| Text MD5: | c651029aec3bb422d3b794a61b3cbfdf |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-04 11:12:44 |
| Source code size: | 194 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 608 / 651 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |