Libraryless. Click here for Pure Java version (4596L/26K).
static <A, B> Map<A, B> filterMapByValuePredicate(Map<A, B> map, IF1<B, Bool> pred) { ret filterMap(map, (key, value) -> pred.get(value)); } static <A, B> Map<A, B> filterMapByValuePredicate(IF1<B, Bool> pred, Map<A, B> map) { ret filterMapByValuePredicate(map, pred); }
Began life as a copy of #1024994
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1025000 |
Snippet name: | filterMapByValuePredicate |
Eternal ID of this version: | #1025000/5 |
Text MD5: | eb42dca370f64898cdf9fed06a6f8d9a |
Transpilation MD5: | 8fd0757b9c486b5a00e262e229f3c9a7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-28 22:58:28 |
Source code size: | 281 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 259 / 357 |
Version history: | 4 change(s) |
Referenced in: | [show references] |