1 | static L<AIConcept> findAIConcepts(S ids) { |
2 | ret findAIConcepts(javaTokC(ids)); |
3 | } |
4 | |
5 | static L<AIConcept> findAIConcepts(Iterable ids) { |
6 | new L<AIConcept> l; |
7 | for (O id : ids) |
8 | if (id instanceof S) |
9 | addIfNotNull(l, aiConceptsMap_cached().get((S) id)); |
10 | else if (id instanceof AIConcept) |
11 | l.add((AIConcept) id); |
12 | ret l; |
13 | } |
Began life as a copy of #1007084
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: | #1007657 |
Snippet name: | findAIConcepts (matches on global id) |
Eternal ID of this version: | #1007657/7 |
Text MD5: | ad035e6f0fa07c92c849cd7f56a736d7 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-11 19:08:35 |
Source code size: | 349 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 563 / 574 |
Version history: | 6 change(s) |
Referenced in: | [show references] |