1 | static <B> void putIfKeyNempty(Map<S, B> map, S key, B value) { |
2 | if (map != null && nempty(key)) map.put(key, value); |
3 | } |
4 | |
5 | ifclass MultiMap |
6 | static <B> void putIfKeyNempty(MultiMap<S, B> map, S key, B value) { |
7 | if (map != null && nempty(key)) map.put(key, value); |
8 | } |
9 | endif |
Began life as a copy of #1014218
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015127 |
Snippet name: | putIfKeyNempty |
Eternal ID of this version: | #1015127/3 |
Text MD5: | 7cf8d8a49f0a5111a85e8938044f2e05 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-08 15:11:39 |
Source code size: | 278 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 449 |
Version history: | 2 change(s) |
Referenced in: | [show references] |