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

3
LINES

< > BotCompany Repo | #1011325 // putIfNotExisting - synonym of putIfNotThere - mapPut if key not there

JavaX fragment (include)

static <A, B> void putIfNotExisting(Map<A, B> map, A key, B value) {
  putIfNotThere(map, key, value);
}

Author comment

Began life as a copy of #1008400

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: #1011325
Snippet name: putIfNotExisting - synonym of putIfNotThere - mapPut if key not there
Eternal ID of this version: #1011325/1
Text MD5: a40842188f9bcab16e01ea3dc983d2ff
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-24 04:55:31
Source code size: 106 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 342 / 350
Referenced in: [show references]