Libraryless. Click here for Pure Java version (2493L/16K).
1 | static <A> L<A> cloneListReplacingElementAtIndex(L<A> l, int i, A a) {
|
2 | listSetIfInRange(l = cloneList(l), i, a); |
3 | ret l; |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028454 |
| Snippet name: | cloneListReplacingElementAtIndex |
| Eternal ID of this version: | #1028454/1 |
| Text MD5: | 1cf8f054fbdf7ebcd3d8f3143f652c7d |
| Transpilation MD5: | b9a962b0f2f1feaf36ab8c5b6443ffc5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-20 19:57:24 |
| Source code size: | 128 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 464 / 569 |
| Referenced in: | [show references] |