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

7
LINES

< > BotCompany Repo | #1031030 // countWhereCI - count elements that match a data condition (fields+values)

JavaX fragment (include)

static int countWhereCI(Cl c, O... data) {
  int n = 0;
  if (c != null) for (O x : c)
    if (checkFieldsIC(x, data))
      ++n;
  ret n;
}

Author comment

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: 93 / 117
Version history: 2 change(s)
Referenced in: [show references]