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

5
LINES

< > BotCompany Repo | #1008401 // getOrMakeAIConceptNamed

JavaX fragment (include)

static AIConcept getOrMakeAIConceptNamed(S name) {
  AIConcept c = findAIConceptByNameIC(name);
  if (c != null) ret c;
  ret createAIConcept(name, myUniverse());
}

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: #1008401
Snippet name: getOrMakeAIConceptNamed
Eternal ID of this version: #1008401/1
Text MD5: 8ed78e5768d526ec06ddad4ef0a270ef
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-12 23:56:14
Source code size: 168 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 435
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)