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

30
LINES

< > BotCompany Repo | #1030699 // mapToArray - synonym of mapToObjectArray

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

Transpiled version (2838L) is out of date.

static O[] mapToArray(Map map) {
  ret mapToObjectArray(map);
}



static O[] mapToArray(O f, Cl l) {
  ret mapToObjectArray(f, l);
}



static O[] mapToArray(O f, O[] l) {
  ret mapToObjectArray(f, l);
}



static <A> O[] mapToArray(Cl<A> l, IF1<A, O> f) {
  ret mapToObjectArray(l, f);
}

static <A> O[] mapToArray(A[] l, IF1<A, O> f) {
  ret mapToObjectArray(f, l);
}


static <A> O[] lambdaMapLike mapToArray(IF1<A, O> f, A[] l) {
  ret mapToObjectArray(f, l);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030699
Snippet name: mapToArray - synonym of mapToObjectArray
Eternal ID of this version: #1030699/5
Text MD5: 5cb32acfcba15d1df1d95a28a1f58045
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-16 06:51:32
Source code size: 495 bytes / 30 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 343
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032211 - mapToProbabilisticList