1 | static Concepts loadConceptsFromFile(File file) { |
2 | new Concepts c; |
3 | c.clearConcepts(); |
4 | c.conceptsFile = file; |
5 | DynamicObject_loading.set(true); |
6 | try { |
7 | Map<Long, Concept> map = (Map) unstructureGZFile(file); |
8 | c.concepts.putAll(map); |
9 | c.assignConceptsToUs(); |
10 | for (long l : map.keySet()) |
11 | c.idCounter = max(c.idCounter, l); |
12 | } finally { |
13 | DynamicObject_loading.set(null); |
14 | } |
15 | //c.allChanged(); |
16 | ret c; |
17 | } |
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/4 |
Text MD5: | 9475ceb17bc43defd42c21145c240dbd |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2024-10-31 15:23:05 |
Source code size: | 447 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 491 |
Version history: | 3 change(s) |
Referenced in: | [show references] |