Libraryless. Click here for Pure Java version (32L/1K).
static <A, B> B rmapGet(Map<A, B> map, A a) { ret map == null || a == null ? null : map.get(a); } static <A, B> B mapMethodLike rmapGet(A a, Map<A, B> map) { ret map == null || a == null ? null : map.get(a); }
Began life as a copy of #1008055
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032556 |
| Snippet name: | rmapGet - mapGet with reversed parameters. actually the same as mapGet, löl |
| Eternal ID of this version: | #1032556/2 |
| Text MD5: | fd19692fe73ffe56af6c7cc66df35c20 |
| Transpilation MD5: | b1f9961d94a0ca50b006b9f6f990d4b5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-22 22:23:14 |
| Source code size: | 220 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 489 / 652 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |