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

6
LINES

< > BotCompany Repo | #1021691 // multiSetTotalCountForKeys

JavaX fragment (include)

static <A> int multiSetTotalCountForKeys(MultiSet<A> ms, Collection<A> keys) {
  int n = 0;
  if (keys != null) for (A a : keys)
    n += ms.get(a);
  ret n;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021691
Snippet name: multiSetTotalCountForKeys
Eternal ID of this version: #1021691/1
Text MD5: c01428c3e442ea74b748c6f4afd20211
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-24 15:21:31
Source code size: 164 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 177 / 220
Referenced in: [show references]