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

9
LINES

< > BotCompany Repo | #1031724 // filterValues - synonym of filterMapByValuePredicate

JavaX fragment (include)

1  
static <A, B> Map<A, B> filterValues(Map<A, B> map, IF1<B, Bool> pred) {
2  
  ret filterMapByValuePredicate(map, pred);
3  
}
4  
5  
6  
7  
static <A, B> Map<A, B> filterValues(IF1<B, Bool> pred, Map<A, B> map) {
8  
  ret filterMapByValuePredicate(pred, map);
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031724
Snippet name: filterValues - synonym of filterMapByValuePredicate
Eternal ID of this version: #1031724/1
Text MD5: 0856e901bbfb537c63b291d0f856a751
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-28 22:30:24
Source code size: 240 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 151 / 182
Referenced in: [show references]