static Concepts loadConceptsFromFile(File file) { new Concepts c; c.clearConcepts(); DynamicObject_loading.set(true); try { Map<Long, Concept> map = (Map) unstructureGZFile(file); c.concepts.putAll(map); c.assignConceptsToUs(); for (long l : map.keySet()) c.idCounter = max(c.idCounter, l); } finally { DynamicObject_loading.set(null); } c.allChanged(); ret c; }
Began life as a copy of #1010427
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: | #1015744 |
Snippet name: | loadConceptsFromFile - load concepts from disk (read only) |
Eternal ID of this version: | #1015744/1 |
Text MD5: | 47329f0c92302f25610e9d0bf942be70 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-26 20:33:52 |
Source code size: | 419 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 402 / 420 |
Referenced in: | [show references] |