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).

static <A, B extends Cl<A>> void forEachLevel2(Iterable<B> l, IVF1<A> f) {
  if (l != null) for (B b : l)
    forEach(b, f);
}

static <A, B extends Cl<A>> void lambdaMapLike forEachLevel2(IVF1<A> f, Iterable<B> l) {
  forEachLevel2(f, l);
}

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: 110 / 169
Version history: 1 change(s)
Referenced in: [show references]