static Map getMap(Map map, O key) { ret map == null ? null : (Map) map.get(key); } static Map getMap(L l, int idx) { ret (Map) get(l, idx); } static Map getMap(O o, O key) { if (o instanceof Map) ret getMap((Map) o, key); if (key instanceof S) ret (Map) get(o, (S) key); throw fail("Not a string key: " + getClassName(key)); }
Began life as a copy of #1001954
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: | #1003889 |
Snippet name: | getMap |
Eternal ID of this version: | #1003889/1 |
Text MD5: | 16f240accc2dbada26db8d01322a4ebb |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-29 17:50:09 |
Source code size: | 355 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 626 / 606 |
Referenced in: | [show references] |