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

7
LINES

< > BotCompany Repo | #1033164 // lambdaMethodMap - call a certain method of all objects (by lambda)

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

Libraryless. Click here for Pure Java version (3854L/22K).

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

static <A, B> L<B> lambdaMethodMap(IF1<A, B> f, A[] l) {
  ret map(f, l);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033164
Snippet name: lambdaMethodMap - call a certain method of all objects (by lambda)
Eternal ID of this version: #1033164/3
Text MD5: 4c0d981a312131cf15caa4315f591f22
Transpilation MD5: aa85dbb007bb748441847b26586b4e3f
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 20:46:54
Source code size: 186 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 225
Version history: 2 change(s)
Referenced in: [show references]