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   

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

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: 115 / 132
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1019882 & http://1019882.tinybrain.de