Libraryless. Click here for Pure Java version (2410L/15K).
1 | static <A> L<A> mapMethodLike mapToField(S field, Class<A> c, Iterable l) { |
2 | ret map(l, value -> nu(c, field, value)); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026560 |
Snippet name: | mapToField - map list to objects of a class with one field set |
Eternal ID of this version: | #1026560/1 |
Text MD5: | c128da77fa726f37e4fdc41a21a0d1b7 |
Transpilation MD5: | 4da6d147dd673f4e20e8cbb9284907e3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-12 20:16:11 |
Source code size: | 123 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 411 |
Referenced in: | [show references] |