Libraryless. Click here for Pure Java version (4523L/25K).
static <A> A[] nuLike toArrayOfType(Class<A> type, L<A> l) { ret (A[]) unnull(l).toArray(arrayOfType(type, l(l))); } static <A> A[] nuLike toArrayOfType(Class<A> type, Iterable<A> l) { ret toArrayOfType(type, asList(l)); }
Began life as a copy of #1014936
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015539 |
Snippet name: | toArrayOfType |
Eternal ID of this version: | #1015539/5 |
Text MD5: | ae89cbfab7d55532278671db057ac7e5 |
Transpilation MD5: | faf13f9d8640ccc08e855596ece76a83 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-29 09:05:28 |
Source code size: | 233 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 403 / 488 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |