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)

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

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: 523 / 530
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)