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

6
LINES

< > BotCompany Repo | #1022411 // containsKeysExcept

JavaX fragment (include)

static <A, B> bool containsKeysExcept(Map<A, B> map, Set<A> set) {
  if (map != null) for (A a : keys(map))
    if (!contains(set, a))
      true;
  false;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022411
Snippet name: containsKeysExcept
Eternal ID of this version: #1022411/2
Text MD5: 68c9d81e05532a4d5a7d002403e389c0
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-16 22:28:20
Source code size: 162 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 272 / 323
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)