Libraryless. Click here for Pure Java version (45L/1K).
svoid <A> putIfKeyNotEqualToValue(Map<A> map, A key, A value) { if (map == null || eq(key, value)) ret; map.put(key, value); }
Began life as a copy of #1021396
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1029236 |
| Snippet name: | putIfKeyNotEqualToValue |
| Eternal ID of this version: | #1029236/4 |
| Text MD5: | 874c969a070db5456bce4e9943e8e7b2 |
| Transpilation MD5: | 371cda534dd46968eca66783790443cb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-26 20:52:20 |
| Source code size: | 133 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 411 / 549 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |