Libraryless. Click here for Pure Java version (2550L/16K).
static <A, B, C> void doubleKeyedMapPutVerbose(S mapName, DoubleKeyedMap<A, B, C> map, A key1, B key2, C value) { if (map != null && key1 != null && key2 != null && value != null) { C old = map.put(key1, key2, value); if (!eq(value, old)) print((old == null ? "Adding to" : "Updating") + " \*mapName*/: \*key1*/, \*key2*/ => \*value*/"); } }
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: | 177 / 267 |
Version history: | 3 change(s) |
Referenced in: | [show references] |