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

4
LINES

< > BotCompany Repo | #1025376 // mapOverClone - cloneList + map

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

Libraryless. Click here for Pure Java version (2849L/17K).

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

Author comment

Began life as a copy of #1003239

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025376
Snippet name: mapOverClone - cloneList + map
Eternal ID of this version: #1025376/3
Text MD5: 85ff2059fa994f62c9de10d9d39f7a65
Transpilation MD5: 014aa7f5d771db4f458157d761c47869
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-29 19:06:07
Source code size: 196 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 394
Version history: 2 change(s)
Referenced in: [show references]