1 | // TODO: use iterator |
2 | svoid removeWhereParams(Collection c, O... params) { |
3 | for (O o : cloneList(c)) |
4 | if (checkFields(o, params)) |
5 | c.remove(o); |
6 | } |
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: | 465 / 516 |
Version history: | 1 change(s) |
Referenced in: | [show references] |