static <A> L<A> mapNuObject(Iterable l, Class<A> c) { ret mapNuObject(c, l); } static <A> L<A> nuLike mapNuObject(Class<A> c, Iterable l) { L x = emptyList(l); if (l != null) for (O o : l) x.add(nuObject(c, o)); ret x; }
Began life as a copy of #1003239
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021324 |
Snippet name: | mapNuObject - map(), but calls a class's constructor instead of a function |
Eternal ID of this version: | #1021324/2 |
Text MD5: | 3da134ed0bd0c8cee6a7295418cd79bb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-08 17:53:21 |
Source code size: | 238 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 254 / 278 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |