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

15
LINES

< > BotCompany Repo | #1019882 // filterKeys - synonym of filterMapByFunctionOnKey

JavaX fragment (include)

static <A, B> Map<A, B> filterKeys(Map<A, B> map, O f) {
  ret filterMapByFunctionOnKey(map, f);
}

static <A, B> Map<A, B> filterKeys(O f, Map<A, B> map) {
  ret filterMapByFunctionOnKey(f, map);
}

static <A, B> Map<A, B> lambdaMapLike filterKeys(IPred<A> f, Map<A, B> map) {
  ret filterMapByFunctionOnKey((O) f, map);
}

static <A, B> Map<A, B> filterKeys(Map<A, B> map, IPred<A> f) {
  ret filterKeys(f, map);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019882
Snippet name: filterKeys - synonym of filterMapByFunctionOnKey
Eternal ID of this version: #1019882/3
Text MD5: 997307ceb1201255cc51065a0394a035
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-16 10:19:16
Source code size: 430 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 384
Version history: 2 change(s)
Referenced in: [show references]