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

5
LINES

< > BotCompany Repo | #1023418 // initCIMapAndAdd

JavaX fragment (include)

static <A> Map<S, A> initCIMapAndAdd(Map<S, A> map, S key, A value) {
  if (map == null) map = ciMap();
  map.put(key, value);
  ret map;
}

Author comment

Began life as a copy of #1019392

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023418
Snippet name: initCIMapAndAdd
Eternal ID of this version: #1023418/1
Text MD5: 5981e9ed70a34959f30d5bc7071aebe3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-18 01:57:14
Source code size: 143 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 247 / 286
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)