1 | static <A, B> void putIfValueNempty(Map<A, B> map, A key, B value) { |
2 | if (map != null && nempty(value)) map.put(key, value); |
3 | } |
Began life as a copy of #1015127
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017756 |
Snippet name: | putIfValueNempty |
Eternal ID of this version: | #1017756/1 |
Text MD5: | f5c3b6731f45ae1949538bd214d9ae30 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-08 14:27:26 |
Source code size: | 129 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 357 / 380 |
Referenced in: | [show references] |