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

14
LINES

< > BotCompany Repo | #1009398 // l_defaultLister

JavaX fragment (include)

static volatile ILister l_defaultLister_instance;
static Lock l_defaultLister_lock = new ReentrantLock;

static ILister l_defaultLister() {
  lock l_defaultLister_lock;
  if (l_defaultLister_instance == null)
    l_defaultLister_instance = unlisted(PersistentLister);
  ret l_defaultLister_instance;
}

static void l_defaultLister(ILister l) {
  lock l_defaultLister_lock;
  l_defaultLister_instance = 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: #1009398
Snippet name: l_defaultLister
Eternal ID of this version: #1009398/4
Text MD5: 411d22e977da87ddb471192bc16a3e02
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:15:26
Source code size: 419 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 420 / 460
Version history: 3 change(s)
Referenced in: [show references]