1 | static void runAndClear(L l) {
|
2 | L l2 = cloneList(l); |
3 | l.clear(); |
4 | for (O r : l2) pcallF(r); |
5 | } |
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: | #1008060 |
| Snippet name: | runAndClear - run a list of runnables (with pcall) and clear the list |
| Eternal ID of this version: | #1008060/2 |
| Text MD5: | 45de26c61f460395d140635ef1363deb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-23 13:11:11 |
| Source code size: | 100 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 720 / 768 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |