1 | static <A> L<A> listSetWithCreate(L<A> l, int i, A a) { |
2 | if (l == null) l = new L; |
3 | listSet(l, i, a); |
4 | ret l; |
5 | } |
Began life as a copy of #1020941
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021808 |
Snippet name: | listSetWithCreate |
Eternal ID of this version: | #1021808/1 |
Text MD5: | 6bc291886b0f84fcda29c0e33594ded0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-28 09:07:02 |
Source code size: | 118 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 288 / 339 |
Referenced in: | [show references] |