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

18
LINES

< > BotCompany Repo | #1017976 // VarMap - with $x <-> $X [dev.]

JavaX fragment (include)

sclass VarMap extends AbstractMap<S> {
  TreeMap<A, B> base = ciMap();

  public B get(Object key) {
    B b = additions.get(key);
    if (b != null) return b;
    return base.get(key);
  }
  
  public B put(S key, S value) {
    
    ret base.put(key, value);
  }
  
  public Set<Map.Entry<S, S>> entrySet() {
    ret base.entrySet();
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017976
Snippet name: VarMap - with $x <-> $X [dev.]
Eternal ID of this version: #1017976/1
Text MD5: f7d87407df4d6ea2519055fe70b650da
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-23 22:38:17
Source code size: 358 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 275 / 290
Referenced in: [show references]