static L<Web> ai_getWebs(S id) { if (!possibleGlobalID(id)) null; ret ai_getWebs(asGlobalID(id)); } static L<Web> ai_getWebs(GlobalID id) { if (id == null) ret emptyList(); Web primary = ai_getWeb(id); // also queries virtual indices if (primary == null) ret emptyList(); L<Web> l = ll(primary); // add duplicate webs (shouldn't have any anyway) l.addAll(dropFirst(allWebsByID().get(id))); ret l; }
Began life as a copy of #1011760
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: | #1012276 |
Snippet name: | ai_getWebs (by ID) |
Eternal ID of this version: | #1012276/3 |
Text MD5: | 726a334f0b53482a2d98374abd16b7db |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-28 12:47:58 |
Source code size: | 434 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 439 / 455 |
Version history: | 2 change(s) |
Referenced in: | [show references] |