Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1007657 // findAIConcepts (matches on global id)

JavaX fragment (include)

static L<AIConcept> findAIConcepts(S ids) {
  ret findAIConcepts(javaTokC(ids));
}

static L<AIConcept> findAIConcepts(Iterable ids) {
  new L<AIConcept> l;
  for (O id : ids)
    if (id instanceof S)
      addIfNotNull(l, aiConceptsMap_cached().get((S) id));
    else if (id instanceof AIConcept)
      l.add((AIConcept) id);
  ret l;
}

Author comment

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: 489 / 503
Version history: 6 change(s)
Referenced in: [show references]