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

10
LINES

< > BotCompany Repo | #1027957 // asHashMap, looking for transpilation problem

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

Libraryless. Compilation Failed (36L/1K).

!759

set flag debug_jreplace.

static <A, B> HashMap<A, B> asHashMap(Map<A, B> map) {
  if (map instanceof HashMap) ret (HashMap) map;
  HashMap<A, B> m = new(0);
  m.putAll(map);
  ret m;
}

Author comment

Began life as a copy of #1015751

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027957
Snippet name: asHashMap, looking for transpilation problem
Eternal ID of this version: #1027957/4
Text MD5: a3f8115d43ae3739c6ea1be08f839231
Transpilation MD5: f24dee9e54048d0de698642d3fda712a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-20 23:31:44
Source code size: 200 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 174
Version history: 3 change(s)
Referenced in: [show references]