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

10
LINES

< > BotCompany Repo | #1024006 // syncFilterLinkedListInPlace

JavaX fragment (include)

static void mapLike syncFilterLinkedListInPlace(O pred, L l) {
  if (l == null) ret;
  synchronized(l) {
    filterListInPlace(pred, l);
  }
}

static <A> void syncFilterLinkedListInPlace(L<A> l, IF1<A, Bool> pred) {
  syncFilterLinkedListInPlace(pred, l);
}

Author comment

Began life as a copy of #1019151

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: #1024006
Snippet name: syncFilterLinkedListInPlace
Eternal ID of this version: #1024006/5
Text MD5: d1c2cf87d87a531e7141f7e39d13f3cc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-15 15:56:04
Source code size: 267 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 210 / 255
Version history: 4 change(s)
Referenced in: [show references]