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

7
LINES

< > BotCompany Repo | #1010715 // addToOtherProgramsPersistentHashMap

JavaX fragment (include)

1  
// should work in all cases, except if the other program is running; then
2  
// it won't see the changes until it restarts
3  
static void addToOtherProgramsPersistentHashMap(S progID, S persistenceName, O key, O value) {
4  
  File f = persistentMapLogFile(progID, persistenceName);
5  
  logStructure_twoFiles(
6  
    f, fileAppendToName(f, ".bak"), ll(key, value));
7  
}

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: #1010715
Snippet name: addToOtherProgramsPersistentHashMap
Eternal ID of this version: #1010715/5
Text MD5: 6e02ab5350b0c4c141ccc19286579b85
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 16:25:28
Source code size: 358 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 446 / 488
Version history: 4 change(s)
Referenced in: [show references]