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

4
LINES

< > BotCompany Repo | #1028609 // litmap_impl_withNulls

JavaX fragment (include)

svoid litmap_impl_withNulls(Map map, O... x) {
  if (x != null) for (int i = 0; i < x.length-1; i += 2)
    map.put(x[i], x[i+1]);
}

Author comment

Began life as a copy of #1001695

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1028609
Snippet name: litmap_impl_withNulls
Eternal ID of this version: #1028609/1
Text MD5: a9a337a99c68544286bf76fcc93495d5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-28 17:18:47
Source code size: 135 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 216 / 260
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)