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

7
LINES

< > BotCompany Repo | #1010715 // addToOtherProgramsPersistentHashMap

JavaX fragment (include)

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

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: 378 / 417
Version history: 4 change(s)
Referenced in: [show references]