Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1008948 // listPut - synonym of listSet - combined add or set for list

JavaX fragment (include)

1  
static <A> void listPut(L<A> l, int i, A a, A emptyElement) {
2  
  listSet(l, i, a, emptyElement);
3  
}
4  
5  
static <A> void listPut(L<A> l, int i, A a) {
6  
  listSet(l, i, a);
7  
}

Author comment

Began life as a copy of #1004144

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008948
Snippet name: listPut - synonym of listSet - combined add or set for list
Eternal ID of this version: #1008948/1
Text MD5: 7f9479a0f439d7f7a0d8d61b8d03097b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-20 00:23:45
Source code size: 174 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 602 / 619
Referenced in: [show references]