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

11
LINES

< > BotCompany Repo | #1015427 // similarEmptyMultiSet - make an effort to create an empty MultiSet of same type

JavaX fragment (include)

1  
static MultiSet similarEmptyMultiSet(MultiSet m) {
2  
  new MultiSet ms;
3  
  ms.map = similarEmptyMap(m.map);
4  
  ret ms;
5  
}
6  
7  
static MultiSet similarEmptyMultiSet(Map m) {
8  
  new MultiSet ms;
9  
  ms.map = similarEmptyMap(m);
10  
  ret ms;
11  
}

Author comment

Began life as a copy of #1007943

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: #1015427
Snippet name: similarEmptyMultiSet - make an effort to create an empty MultiSet of same type
Eternal ID of this version: #1015427/3
Text MD5: 37f4f748704592c7cf9e7ef5ef741159
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-23 17:53:35
Source code size: 235 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 360 / 419
Version history: 2 change(s)
Referenced in: [show references]