static LS codeTokens_lazy(final LS tok) { ret new RandomAccessAbstractList<S> { final int size = l(tok)/2; public int size() { ret size; } public S get(int i) { ret tok.get(i*2+1); } }; }
Began life as a copy of #1018394
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021257 |
| Snippet name: | codeTokens_lazy |
| Eternal ID of this version: | #1021257/1 |
| Text MD5: | f647c4f59394ec98510b15834f4f8514 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-06 12:06:33 |
| Source code size: | 215 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 502 / 555 |
| Referenced in: | [show references] |