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

8
LINES

< > BotCompany Repo | #1012078 // ai_getOrCreateSubSpace

JavaX fragment (include)

1  
static AI_SubSpace ai_getOrCreateSubSpace(S name) {
2  
  synchronized(ai_getSubSpace_map) {
3  
    AI_SubSpace ss = ai_getSubSpace(name);
4  
    if (ss == null)
5  
      ai_getSubSpace_map.put(name, ss = new AI_SubSpace);
6  
    ret ss;
7  
  }
8  
}

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: 456 / 471
Referenced in: [show references]