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

11
LINES

< > BotCompany Repo | #1015540 // mapToIntArray - UNOPTIMIZED!

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

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

static int[] mapToIntArray(O f, Collection l) {
  ret toIntArray(map(f, l));
}

static int[] mapToIntArray(O f, O[] l) {
  ret toIntArray(map(f, l));
}

static <A> int[] mapToIntArray(Cl<A> l, IF1<A, Int> f) {
  ret mapToIntArray((O) f, l);
}

Author comment

Began life as a copy of #1015538

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015540
Snippet name: mapToIntArray - UNOPTIMIZED!
Eternal ID of this version: #1015540/7
Text MD5: 766499fec5a2ef9af8096b63f0611ce1
Transpilation MD5: 864fc903c6b67b92cbd63f41e05dc731
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-07 17:52:20
Source code size: 252 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 374 / 490
Version history: 6 change(s)
Referenced in: [show references]