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

4
LINES

< > BotCompany Repo | #1023416 // putAllAsKeyAndValue

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (29L/1K).

static <A> void putAllAsKeyAndValue(Map<? super A, ? super A> map, A... l) {
  if (map != null && l != null)
    for (A a : l) map.put(a, a);
}

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: #1023416
Snippet name: putAllAsKeyAndValue
Eternal ID of this version: #1023416/2
Text MD5: 7f6b046007dc62128eaba0ce34fc5979
Transpilation MD5: 9df95e747e04a6137c83e6906a8a040a
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:48:38
Source code size: 146 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 159 / 232
Version history: 1 change(s)
Referenced in: [show references]