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

6
LINES

< > BotCompany Repo | #1027780 // BiMultiMap [dev.]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2730L/17K).

1  
sclass BiMultiMap<A, B> {
2  
  new MultiMap<A, B> fw;
3  
  new MultiMap<B, A> bw;
4  
  
5  
  public void put(A a, B b) { fw.put(a, b); bw.put(b, a); }
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027780
Snippet name: BiMultiMap [dev.]
Eternal ID of this version: #1027780/2
Text MD5: 6280ed194fc73dc2983bb8f4d1a34d26
Transpilation MD5: b2cfc9a804558aa6b270e7507cfae6bd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-11 18:20:48
Source code size: 145 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 515
Version history: 1 change(s)
Referenced in: [show references]