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

8
LINES

< > BotCompany Repo | #1012078 // ai_getOrCreateSubSpace

JavaX fragment (include)

static AI_SubSpace ai_getOrCreateSubSpace(S name) {
  synchronized(ai_getSubSpace_map) {
    AI_SubSpace ss = ai_getSubSpace(name);
    if (ss == null)
      ai_getSubSpace_map.put(name, ss = new AI_SubSpace);
    ret ss;
  }
}

Author comment

Began life as a copy of #1012077

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: #1012078
Snippet name: ai_getOrCreateSubSpace
Eternal ID of this version: #1012078/1
Text MD5: 04c1f806e2975813c699b3b06f6516e9
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-17 10:40:50
Source code size: 234 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 457 / 472
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012081 - ai_putSubSpace