Libraryless. Click here for Pure Java version (74L/1K).
static <A, B> A keyForValue_sync(B value, Map<A, B> map) { ret keyForValue_sync(map, value); } static <A, B> A keyForValue_sync(Map<A, B> map, B value) { if (map == null || value == null) null; synchronized(map) { ret keyForValue(map, value); } }
Began life as a copy of #1002303
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: | #1025628 |
Snippet name: | keyForValue_sync |
Eternal ID of this version: | #1025628/1 |
Text MD5: | e2ce96bbddae3a71ecc72b820a23c4c6 |
Transpilation MD5: | 4ab267619d6375a7ea35ab01641ce3cd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-10 00:53:56 |
Source code size: | 268 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 221 / 330 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |