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

8
LINES

< > BotCompany Repo | #1012145 // strictlitmapOrNull

JavaX fragment (include)

static HashMap strictlitmapOrNull(O... params) {
  int n = l(params);
  new HashMap map;
  for (int i = 0; i < n; i += 2)
    if (!mapPutStrictly(map, params[i], params[i+1]))
      null;
  ret map;
}

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: #1012145
Snippet name: strictlitmapOrNull
Eternal ID of this version: #1012145/2
Text MD5: 4bf3e559ad0a461ce21b9ebd7918c4aa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-21 11:35:12
Source code size: 207 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 379 / 417
Version history: 1 change(s)
Referenced in: [show references]