1 | static <A, B> bool containsKeysExcept(Map<A, B> map, Set<A> set) { |
2 | if (map != null) for (A a : keys(map)) |
3 | if (!contains(set, a)) |
4 | true; |
5 | false; |
6 | } |
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: | 273 / 325 |
Version history: | 1 change(s) |
Referenced in: | [show references] |