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

5
LINES

< > BotCompany Repo | #1005076 // safeLoadConcepts - load concepts as dynamic objects. TODO: live DB?

JavaX fragment (include)

1  
static Map<Long, O> safeLoadConcepts(S progID) {
2  
  S text = loadTextFilePossiblyGZipped(getProgramFile(progID, "concepts.structure"));
3  
  if (empty(text)) ret new HashMap;
4  
  ret safeUnstructureMap(text);
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005076
Snippet name: safeLoadConcepts - load concepts as dynamic objects. TODO: live DB?
Eternal ID of this version: #1005076/3
Text MD5: bb73d01d42376276368d1236e1a93a0c
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-05 20:45:31
Source code size: 208 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 520 / 527
Version history: 2 change(s)
Referenced in: [show references]