Libraryless. Click here for Pure Java version (2550L/16K).
1 | static <A, B, C> void doubleKeyedMapPutVerbose(S mapName, DoubleKeyedMap<A, B, C> map, A key1, B key2, C value) { |
2 | if (map != null && key1 != null && key2 != null && value != null) { |
3 | C old = map.put(key1, key2, value); |
4 | if (!eq(value, old)) |
5 | print((old == null ? "Adding to" : "Updating") + " \*mapName*/: \*key1*/, \*key2*/ => \*value*/"); |
6 | } |
7 | } |
Began life as a copy of #1027781
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: | #1027835 |
Snippet name: | doubleKeyedMapPutVerbose |
Eternal ID of this version: | #1027835/4 |
Text MD5: | a5af18788f975dcb177373c4e4054e05 |
Transpilation MD5: | 787db09313004135b7a459d58abe1639 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-14 22:34:44 |
Source code size: | 365 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 178 / 268 |
Version history: | 3 change(s) |
Referenced in: | [show references] |