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

22
LINES

< > BotCompany Repo | #1018325 // class WrappedMap - just forwards to base map

JavaX fragment (include)

static class WrappedMap<A, B> extends AbstractMap<A, B> {
  Map<A, B> map;

  *() {}
  *(Map<A, B> *map) {}

  public B get(Object key) {
    ret map.get(key);
  }
  
  public B put(A key, B value) {
    return map.put(key, value);
  }
  
  public bool containsKey(O key) {
    ret map.containsKey(key);
  }
  
  public Set<Map.Entry<A,B>> entrySet() {
    ret map.entrySet();
  }
}

Author comment

Began life as a copy of #1017455

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018325
Snippet name: class WrappedMap - just forwards to base map
Eternal ID of this version: #1018325/3
Text MD5: 77d7c5293f127bd58d30b54555a33850
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-19 18:37:10
Source code size: 405 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 371 / 1219
Version history: 2 change(s)
Referenced in: [show references]