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

7
LINES

< > BotCompany Repo | #1024039 // classesMultiSet

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

Libraryless. Click here for Pure Java version (2347L/14K).

static MultiSet<Class> classesMultiSet(Iterable l) {
  new MultiSet<Class> ms;
  fOr (O o : l)
    if (o != null)
      ms.add(o.getClass());
  ret ms;
}

Author comment

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: 145 / 208
Referenced in: [show references]