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

9
LINES

< > BotCompany Repo | #1029933 // applyFunctionToValue - similar to applyFunctionToMapValue

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2512L/16K).

static <A, B> Map<A, B> lambdaMapLike applyFunctionToValue(IF1<A> f, A key, Map<A, B> map) {
  ret applyFunctionToMapValue(key, f, map);
}

static <A, B> Map<A, B> lambdaMapLike applyFunctionToValue(IF1<A> f, Map<A, B> map, A... keys) {
  fOr (A key : keys)
    applyFunctionToValue(f, key, map);
  ret map;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029933
Snippet name: applyFunctionToValue - similar to applyFunctionToMapValue
Eternal ID of this version: #1029933/4
Text MD5: 8b532ac109c10b7b05e7587eb152aa94
Transpilation MD5: 1d00efa36a31331709972937c05fa8ea
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-12 14:12:15
Source code size: 319 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 134 / 187
Version history: 3 change(s)
Referenced in: [show references]