Libraryless. Click here for Pure Java version (2853L/17K).
1 | static <A, B> KeyValueDiff<A, B> keyValueDiffUnlessEqual(A key, B value1, B value2) {
|
2 | ret eq(value1, value2) ? null : KeyValueDiff(key, value1, value2); |
3 | } |
Began life as a copy of #1030577
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030583 |
| Snippet name: | keyValueDiffUnlessEqual |
| Eternal ID of this version: | #1030583/2 |
| Text MD5: | a6f75a497d3ae3b072f11845761d671d |
| Transpilation MD5: | 2fa902bcde4450f624bf7ce97c89c3df |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-01-13 09:16:08 |
| Source code size: | 158 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 442 / 577 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |