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

6
LINES

< > BotCompany Repo | #1009824 // removeWhereParams - remove elements from a collection if they match a list of fields and values

JavaX fragment (include)

// TODO: use iterator
svoid removeWhereParams(Collection c, O... params) {
  for (O o : cloneList(c))
    if (checkFields(o, params))
      c.remove(o);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009824
Snippet name: removeWhereParams - remove elements from a collection if they match a list of fields and values
Eternal ID of this version: #1009824/2
Text MD5: ee29d1cc324c43f4b00b7ca075b5bc26
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-15 12:36:08
Source code size: 159 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 463 / 514
Version history: 1 change(s)
Referenced in: [show references]