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

6
LINES

< > BotCompany Repo | #1012402 // asCaseInsensitiveMap - never returns null

JavaX fragment (include)

static <B> TreeMap<S, B> asCaseInsensitiveMap(Map<S, B> map) {
  if (isCIMap(map)) ret (TreeMap) map;
  TreeMap<S, B> m = ciMap();
  putAll(m, map);
  ret m;
}

Author comment

Began life as a copy of #1005222

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: #1012402
Snippet name: asCaseInsensitiveMap - never returns null
Eternal ID of this version: #1012402/3
Text MD5: aeb31c9b9f6b58f496df5a06520eaa5a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-11 20:43:30
Source code size: 164 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 396 / 443
Version history: 2 change(s)
Referenced in: [show references]