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

4
LINES

< > BotCompany Repo | #1008713 // doublePut - put value in map with two keys

JavaX fragment (include)

1  
static <A, B> void doublePut(Map<A, B> map, A key1, A key2, B value) {
2  
  map.put(key1, value);
3  
  map.put(key2, value);
4  
}

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: #1008713
Snippet name: doublePut - put value in map with two keys
Eternal ID of this version: #1008713/1
Text MD5: da5f6795e143fa30ba105076ea945597
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-30 02:35:57
Source code size: 123 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 530 / 604
Referenced in: [show references]