Libraryless. Click here for Pure Java version (3069L/17K).
svoid <A> addToDoubleValueMap(Map<A, Double> map, A key, double increment) { if (increment == 0 || map == null) ret; map.put(key, unnull(map.get(key)) + increment); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032245 | 
| Snippet name: | addToDoubleValueMap | 
| Eternal ID of this version: | #1032245/1 | 
| Text MD5: | 80b15de897e4b4aeb90db05a9c3409ea | 
| Transpilation MD5: | 193e9840c9d24fcf8a739fa2b9409c61 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-08-22 20:52:30 | 
| Source code size: | 173 bytes / 4 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 369 / 463 | 
| Referenced in: | [show references] |