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

5
LINES

< > BotCompany Repo | #1036540 // singletonMultiSet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10375L/57K).

1  
static <A> MultiSet<A> singletonMultiSet(A a) {
2  
  new MultiSet<A> ms;
3  
  ms.add(a);
4  
  ret ms;
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036540
Snippet name: singletonMultiSet
Eternal ID of this version: #1036540/1
Text MD5: 78e197678148938b9df4e67dcbb3b5a3
Transpilation MD5: 1024a33f6f70a4913792f3bb1c3d85c6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-02-06 14:31:17
Source code size: 98 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 207
Referenced in: [show references]