Libraryless. Click here for Pure Java version (93L/1K).
1 | static <A, B> void removeAllKeysNotIn(Map<A, B> a, Map<A, ?> b) {
|
2 | if (a != null) removeAllBut(a, keys(b)); |
3 | } |
Began life as a copy of #1010974
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024351 |
| Snippet name: | removeAllKeysNotIn |
| Eternal ID of this version: | #1024351/1 |
| Text MD5: | 68099f733cf5de2d4cfe8d7005c92c2b |
| Transpilation MD5: | 0ecec0f9909581e1c822caec1142879e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-04 19:53:58 |
| Source code size: | 112 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 408 / 572 |
| Referenced in: | [show references] |