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

5
LINES

< > BotCompany Repo | #1012340 // LazyList - with better iterator (can handle concurrent changes). badly named, lazy usually means something else

JavaX fragment (include)

static abstract class LazyList<A> extends RandomAccessAbstractList<A> {
  public Iterator<A> iterator() {
    ret concurrentlyIterateList(this);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1012340
Snippet name: LazyList - with better iterator (can handle concurrent changes). badly named, lazy usually means something else
Eternal ID of this version: #1012340/2
Text MD5: 4334d56af7c1c78ef55955bcba1d14f3
Author: stefan
Category: javax / collections
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-02 17:04:05
Source code size: 154 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 577 / 1150
Version history: 1 change(s)
Referenced in: [show references]