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).

sclass BiMultiMap<A, B> {
  new MultiMap<A, B> fw;
  new MultiMap<B, A> bw;
  
  public void put(A a, B b) { fw.put(a, b); bw.put(b, a); }
}

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: 184 / 489
Version history: 1 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)