Libraryless. Click here for Pure Java version (1648L/11K).
1 | static O[] itemPlusObjectArray(O a, O[] l) {
|
2 | O[] out = new O[l(l)+1]; |
3 | out[0] = a; |
4 | arraycopy(l, 0, out, 1, l(l)); |
5 | ret out; |
6 | } |
Began life as a copy of #1019407
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: | #1024620 |
| Snippet name: | itemPlusObjectArray |
| Eternal ID of this version: | #1024620/1 |
| Text MD5: | b70ac99f08cd9420dd7c372b9f290f8f |
| Transpilation MD5: | 3090982cc5a9dfb967b702a342179d66 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-20 14:12:54 |
| Source code size: | 136 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 381 / 506 |
| Referenced in: | [show references] |