static int countWhere(Collection c, O... data) { int n = 0; if (c != null) for (O x : c) if (checkFields(x, data)) ++n; ret n; }
Began life as a copy of #1003173
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003903 |
Snippet name: | countWhere - count elements that match a data condition (fields+values) |
Eternal ID of this version: | #1003903/2 |
Text MD5: | fc0e4be05f1d3f26de373a1f354a84c2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-25 23:52:27 |
Source code size: | 150 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 603 / 598 |
Version history: | 1 change(s) |
Referenced in: | [show references] |