Libraryless. Click here for Pure Java version (2168L/14K).
1 | static int countValuesWhere_sync(Map map, O... data) { |
2 | if (map == null) ret 0; |
3 | synchronized(map) { |
4 | ret countWhere(values(map), data); |
5 | } |
6 | } |
Began life as a copy of #1024195
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025626 |
Snippet name: | countValuesWhere_sync - count map values that match a data condition (fields+values) |
Eternal ID of this version: | #1025626/1 |
Text MD5: | 7dc7612b0acfef7ee38d1651c9ff7a50 |
Transpilation MD5: | b3fffe5dd13cbe666274555be86da499 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-10 00:52:08 |
Source code size: | 152 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 228 / 316 |
Referenced in: | [show references] |