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


< > BotCompany Repo | #1030039 - safeMap - safe version of map()

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

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

static <A, B> L<B> lambdaMapLike safeMap(IF1<A, B> f, Iterable<A> l) { ret map(l, f); }
static <A, B> L<B> safeMap(Iterable<A> l, IF1<A, B> f) { ret map(l, f); }

Author comment

Began life as a copy of #1003239

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030039
Snippet name: safeMap - safe version of map()
Eternal ID of this version: #1030039/3
Text MD5: 10616c019a2874cf59e6548c656f9444
Transpilation MD5: c21b2bc443285dc6f9c748421e17f202
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-09 11:07:39
Source code size: 162 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 38 / 66
Version history: 2 change(s)
Referenced in: [show references]

Formerly at &