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

15
LINES

< > BotCompany Repo | #1009409 // l_persistentLister

JavaX fragment (include)

static volatile ILister l_persistentLister_instance;

static ILister l_persistentLister() {
  if (l_persistentLister_instance == null) {
    db();
    l_persistentLister_instance = uniq_sync(PersistentLister);
    l_defaultLister(l_persistentLister_instance);
  }
  ret l_persistentLister_instance;
}

static void l_persistentLister(ILister l) {
  l_persistentLister_instance = l;
  l_defaultLister(l);
}

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: #1009409
Snippet name: l_persistentLister
Eternal ID of this version: #1009409/6
Text MD5: ce0c51a5e60fcf262d43809f2f2c25ec
Author: stefan
Category: javax / lists
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-01 18:39:37
Source code size: 418 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 514 / 548
Version history: 5 change(s)
Referenced in: [show references]