1 | static int countWhereCI(Cl c, O... data) { |
2 | int n = 0; |
3 | if (c != null) for (O x : c) |
4 | if (checkFieldsIC(x, data)) |
5 | ++n; |
6 | ret n; |
7 | } |
Began life as a copy of #1003903
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031030 |
Snippet name: | countWhereCI - count elements that match a data condition (fields+values) |
Eternal ID of this version: | #1031030/3 |
Text MD5: | 8d3cc39ae55effb70870769350b9b763 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-23 17:19:18 |
Source code size: | 146 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 155 / 185 |
Version history: | 2 change(s) |
Referenced in: | [show references] |