Libraryless. Click here for Pure Java version (2584L/16K).
static <A, B, C> Map<B, C> lambdaMapLike safeMapToMap(IF1<A, Pair<B, C>> f, Iterable<A> l) { ret mapToMap(f, l); } static <A, B, C> Map<B, C> safeMapToMap(Iterable<A> l, IF1<A, Pair<B, C>> f) { ret mapToMap(f, l); } static <A, B, C, D> Map<C, D> safeMapToMap(IF2<A, B, Pair<C, D>> f, Map<A, B> m) { ret mapToMap(f, m); }
Began life as a copy of #1024294
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030227 |
Snippet name: | safeMapToMap - safe version to mapToMap |
Eternal ID of this version: | #1030227/1 |
Text MD5: | 0235d48d909316bebcb04e97335c6af5 |
Transpilation MD5: | 7255b41be3e6ea9ca66e555373e3e6f4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-17 21:54:47 |
Source code size: | 338 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 254 |
Referenced in: | [show references] |