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

9
LINES

< > BotCompany Repo | #1016987 // syncRemoveWhereFields

JavaX fragment (include)

static void syncRemoveWhereFields(L l, O... params) {
  if (l == null) ret;
  synchronized(l) {
    ListIterator it = listIterator(l);
    while (it.hasNext())
      if (checkFields(it.next(), params))
        it.remove();
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016987
Snippet name: syncRemoveWhereFields
Eternal ID of this version: #1016987/1
Text MD5: 36a1523385d3c94e1fb73e184dff979f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-09 21:06:20
Source code size: 236 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 343 / 383
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019151 - filterListInPlace - efficient only with LinkedList