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

7
LINES

< > BotCompany Repo | #1033740 // mapToArrayList

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

Transpiled version (4635L) is out of date.

static <A, B> ArrayList<B> lambdaMapLike mapToArrayList(IF1<A, B> f, Iterable<A> l) {
  ret toArrayList(map(f, l));
}

static <A, B> ArrayList<B> lambdaMapLike mapToArrayList(Iterable<A> l, IF1<A, B> f) {
  ret mapToArrayList(f, l);
}

Author comment

Began life as a copy of #1011181

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033740
Snippet name: mapToArrayList
Eternal ID of this version: #1033740/2
Text MD5: d62e7f6f02c0b5244f34f818faeddff8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-01 20:46:29
Source code size: 236 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 146 / 200
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)