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

5
LINES

< > BotCompany Repo | #1024634 // syncListGetMulti - get multiple indexes, synchronized on list

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1947L/12K).

static <A> L<A> syncListGetMulti(final L<A> l, L<Int> indices) {
  synchronized(collectionMutex(l)) {
    ret listGetMulti(l, indices);
  }
}

Author comment

Began life as a copy of #1019566

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024634
Snippet name: syncListGetMulti - get multiple indexes, synchronized on list
Eternal ID of this version: #1024634/1
Text MD5: 08419fdbdb2a581660e456a5691726f0
Transpilation MD5: fc12cf07b44a1c002026b60f6a70e430
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-21 13:26:43
Source code size: 145 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 259
Referenced in: [show references]