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

10
LINES

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

JavaX fragment (include)

sclass DefaultLister implements ILister {
  new HashMap<S, L> lists;
  
  public synchronized L getList(S name) {
    L l = lists.get(name);
    if (l == null)
      lists.put(name, l = synchroList());
    ret 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: #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: 437 / 1052
Version history: 4 change(s)
Referenced in: #1009401 - PersistentLister
#1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)