Libraryless. Click here for Pure Java version (1648L/11K).
static Component[] asComponentArray(Collection<? extends Component> c) { Component[] a = new Component[l(c)]; Iterator<? extends Component> it = c.iterator(); for (int i = 0; i < l(a); i++) a[i] = it.next(); ret a; }
Began life as a copy of #1001235
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024548 |
| Snippet name: | asComponentArray |
| Eternal ID of this version: | #1024548/2 |
| Text MD5: | 6f6f2852b2b76e57112757212db93484 |
| Transpilation MD5: | 59bb8c16fc6cd2c03b91905f3b2de146 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-18 00:10:57 |
| Source code size: | 234 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 443 / 578 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |