Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1017756 // putIfValueNempty

JavaX fragment (include)

static <A, B> void putIfValueNempty(Map<A, B> map, A key, B value) {
  if (map != null && nempty(value)) map.put(key, value);
}

Author comment

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: 356 / 379
Referenced in: [show references]