Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1025627 // keyForValue - synonym of reverseLookup

JavaX fragment (include)

1  
static <A, B> A keyForValue(B value, Map<A, B> map) {
2  
  ret reverseLookup(value, map);
3  
}
4  
5  
6  
7  
static <A, B> A keyForValue(Map<A, B> map, B value) {
8  
  ret reverseLookup(map, value);
9  
}

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: #1025627
Snippet name: keyForValue - synonym of reverseLookup
Eternal ID of this version: #1025627/1
Text MD5: 1994baa3e36a0cd36740f2391e5814b7
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-10 00:52:58
Source code size: 182 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 253 / 278
Referenced in: [show references]