static Method hashMap_findKey_method; static <A, B> A hashMap_findKey(HashMap<A, B> map, O key) ctex { if (hashMap_findKey_method == null) hashMap_findKey_method = findMethodNamed(HashMap.class, "getNode"); Map.Entry<A, B> entry = (Map.Entry) hashMap_findKey_method.invoke(map, hashMap_internalHash(key), key); // java.util.Map.Entry<A, B> entry = (java.util.Map.Entry) call(hash, 'getNode, hashMap_internalHash(key), wkey); ret entry == null ? null : entry.getKey(); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1012718 |
| Snippet name: | hashMap_findKey |
| Eternal ID of this version: | #1012718/5 |
| Text MD5: | 5d8b1565c788acc241ecf1022b354e4e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-10 21:44:41 |
| Source code size: | 490 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 719 / 887 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |