Libraryless. Click here for Pure Java version (2347L/14K).
1 | static MultiSet<Class> classesMultiSet(Iterable l) { |
2 | new MultiSet<Class> ms; |
3 | fOr (O o : l) |
4 | if (o != null) |
5 | ms.add(o.getClass()); |
6 | ret ms; |
7 | } |
Began life as a copy of #1016437
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1024039 |
Snippet name: | classesMultiSet |
Eternal ID of this version: | #1024039/1 |
Text MD5: | 3656ff44f22b9a674abc746f5d29bf53 |
Transpilation MD5: | 4771cc332ae2113cf9c1bdaae217d9ca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-18 13:28:53 |
Source code size: | 159 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 212 / 306 |
Referenced in: | [show references] |