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

13
LINES

< > BotCompany Repo | #1015512 // mapTwoLevelsDown

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

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

static <A, B> LL<B> mapTwoLevelsDown(F1<A, B> f, Iterable<L<A>> l) {
  new LL<B> out;
  if (l != null) for (L<A> x : l)
    out.add(map(f, x));
  ret out;
}

static <A, B> LL<B> lambdaMapLike mapTwoLevelsDown(IF1<A, B> f, Iterable<L<A>> l) {
  new LL<B> out;
  if (l != null) for (L<A> x : l)
    out.add(map(f, x));
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015512
Snippet name: mapTwoLevelsDown
Eternal ID of this version: #1015512/16
Text MD5: 08f277c3696fdd7fe4302221ec72efee
Transpilation MD5: aa755a1c483c6c897f45aa865d58d91a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-15 16:36:49
Source code size: 341 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 588
Version history: 15 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)