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)

static <A, B> Map<A, B> filterValues(Map<A, B> map, IF1<B, Bool> pred) {
  ret filterMapByValuePredicate(map, pred);
}



static <A, B> Map<A, B> filterValues(IF1<B, Bool> pred, Map<A, B> map) {
  ret filterMapByValuePredicate(pred, map);
}

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: 79 / 107
Referenced in: [show references]