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

7
LINES

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

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

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

1  
static <A> void lambdaMethod0Like methodForEach(IVF1<A> f, Iterable<A> l) {
2  
  forEach(f, l);
3  
}
4  
5  
static <A> void methodForEach(IVF1<A> f, A[] l) {
6  
  forEach(f, l);
7  
}

Author comment

Began life as a copy of #1033164

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033165
Snippet name: methodForEach - call a certain method of all objects (by lambda)
Eternal ID of this version: #1033165/5
Text MD5: 84c334a40fa32c1e728bd6c515cd8f7e
Transpilation MD5: 36d21aed07e6f007792837ac4c0f4615
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 20:48:30
Source code size: 172 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 158 / 235
Version history: 4 change(s)
Referenced in: [show references]