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

6
LINES

< > BotCompany Repo | #1012402 - asCaseInsensitiveMap

JavaX fragment (include)

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

Author comment

Began life as a copy of #1005222

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1012402
Snippet name: asCaseInsensitiveMap
Eternal ID of this version: #1012402/1
Text MD5: b44bcf50740c70f8d5f66c62b0edd233
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-01 16:26:46
Source code size: 163 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 176
Referenced in: [show references]

Formerly at http://tinybrain.de/1012402 & http://1012402.tinybrain.de