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

8
LINES

< > BotCompany Repo | #1008210 // getOrAddThoughtSpace

JavaX fragment (include)

1  
please include function getThoughtSpace.
2  
3  
static ThoughtSpace getOrAddThoughtSpace(S globalID) {
4  
  ThoughtSpace ts = getThoughtSpace_map.get(globalID);
5  
  if (ts == null)
6  
    addThoughtSpace(ts = new ThoughtSpace(globalID));
7  
  ret ts;
8  
}

Author comment

Began life as a copy of #1008195

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: #1008210
Snippet name: getOrAddThoughtSpace
Eternal ID of this version: #1008210/2
Text MD5: 8676a292430962e40eb1b16ed2c54ee6
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-30 02:29:32
Source code size: 242 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 538 / 554
Version history: 1 change(s)
Referenced in: [show references]