static <A, B> B mapGet2(Map<A, B> map, A a) { ret map == null ? null : map.get(a); } static <A, B> B mapMethodLike mapGet2(A a, Map<A, B> map) { ret map == null ? null : map.get(a); }
Began life as a copy of #1008055
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024466 |
Snippet name: | mapGet2 - checks map for null, but not the key |
Eternal ID of this version: | #1024466/1 |
Text MD5: | c43552be5ebdedd2954275824bf75103 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-13 13:04:08 |
Source code size: | 194 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 249 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031556 - syncMapGet2 - checks map for null, but not the key |