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; }
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: | 640 / 703 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |