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

8
LINES

< > BotCompany Repo | #1030821 // forEachLevel2

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

Libraryless. Click here for Pure Java version (2724L/16K).

1  
static <A, B extends Cl<A>> void forEachLevel2(Iterable<B> l, IVF1<A> f) {
2  
  if (l != null) for (B b : l)
3  
    forEach(b, f);
4  
}
5  
6  
static <A, B extends Cl<A>> void lambdaMapLike forEachLevel2(IVF1<A> f, Iterable<B> l) {
7  
  forEachLevel2(f, l);
8  
}

Author comment

Began life as a copy of #1022895

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030821
Snippet name: forEachLevel2
Eternal ID of this version: #1030821/2
Text MD5: 54ab93f7ee552406bd4d28de82777133
Transpilation MD5: 1fd50fcefb731f10b5f27fbadd789cf0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-31 13:31:07
Source code size: 248 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 256
Version history: 1 change(s)
Referenced in: [show references]