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

6
LINES

< > BotCompany Repo | #1023163 // containsAnyKeyExcept

JavaX fragment (include)

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

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: #1023163
Snippet name: containsAnyKeyExcept
Eternal ID of this version: #1023163/2
Text MD5: d2afbc1fd4115c073d39f2b3f9e730fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-15 21:38:19
Source code size: 180 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 240
Version history: 1 change(s)
Referenced in: [show references]