static Collection<Web> ai_withoutInvalidWebs(Collection<Web> l) { if (l == null) null; for (Web n : l) if (ai_isInvalidWeb(n)) { Iterator<Web> it = iterator(l); Web node; new L<Web> x; while ((node = it.next()) != n) x.add(node); while (it.hasNext()) { node = it.next(); if (!ai_isInvalidWeb(node)) x.add(node); } ret x; } ret l; } static L<Web> ai_withoutInvalidWebs(L<Web> l) { ret (L) ai_withoutInvalidWebs((Collection) l); }
Began life as a copy of #1011427
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: | #1011456 |
| Snippet name: | ai_withoutInvalidWebs |
| Eternal ID of this version: | #1011456/1 |
| Text MD5: | 3f8d83392785f7df286413bf8ef5cdfd |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-29 20:44:50 |
| Source code size: | 542 bytes / 22 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 647 / 679 |
| Referenced in: | [show references] |