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

10
LINES

< > BotCompany Repo | #1009399 // DefaultLister [obsolete]

JavaX fragment (include)

1  
sclass DefaultLister implements ILister {
2  
  new HashMap<S, L> lists;
3  
  
4  
  public synchronized L getList(S name) {
5  
    L l = lists.get(name);
6  
    if (l == null)
7  
      lists.put(name, l = synchroList());
8  
    ret l;
9  
  }
10  
}

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: #1009399
Snippet name: DefaultLister [obsolete]
Eternal ID of this version: #1009399/5
Text MD5: 081ed97814e9fd28ccfc680113216aa6
Author: stefan
Category: javax / lists
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-12 15:54:28
Source code size: 227 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 438 / 1054
Version history: 4 change(s)
Referenced in: [show references]