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: | 474 / 524 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023164 - nullIfContainsKeysOtherThan |