Transpiled version (4569L) is out of date.
static <A, B> L<B> lambdaMapLike lazyMap_noSave(IF1<A, B> f, L<A> l) { ret new RandomAccessAbstractList<B> { final int size = l(l); public int size() { ret size; } public B get(int i) { ret f.get(l.get(i)); } }; } static <A, B> L<B> lambdaMapLike lazyMap_noSave(L<A> l, IF1<A, B> f) { ret lazyMap_noSave(f, l); }
Began life as a copy of #1018394
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022259 |
| Snippet name: | lazyMap_noSave - map list to list lazily (calculating elements on demand each time) |
| Eternal ID of this version: | #1022259/3 |
| Text MD5: | 00e736dbc29809793cba0f1cc1e29a8d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-08-03 08:21:03 |
| Source code size: | 351 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 490 / 626 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |