Libraryless. Click here for Pure Java version (3801L/22K).
1 | // binary legacy signature |
2 | static O[] toObjectArray(Cl c) {
|
3 | ret toObjectArray((Iterable) c); |
4 | } |
5 | |
6 | static O[] toObjectArray(Iterable c) {
|
7 | L l = asList(c); |
8 | return l.toArray(new O[l.size()]); |
9 | } |
Began life as a copy of #1001235
download show line numbers debug dex old transpilations
Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, wtqryiryparv, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1002013 |
| Snippet name: | toObjectArray - could make optimized version for non-concurrent collections |
| Eternal ID of this version: | #1002013/5 |
| Text MD5: | b9751d47ed97c78422e31f4bc0ce4d1b |
| Transpilation MD5: | b6418b7464cc0ce5f6b23e4f72e8584c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-29 23:06:39 |
| Source code size: | 204 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1067 / 2321 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |