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

6
LINES

< > BotCompany Repo | #1031346 // cclone

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

Libraryless. Compilation Failed (15521L/100K).

static <A extends Concept> A cclone(A a) {
  if (a == null) null;
  A b = cnew(a._concepts(), a.getClass());
  ccopyFields(a, b);
  ret b;
}

Author comment

Began life as a copy of #1031345

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031346
Snippet name: cclone
Eternal ID of this version: #1031346/3
Text MD5: f09506012e97f3fe0784f4ea14edcccf
Transpilation MD5: 5c573ffb820ecbcc6954572d9dfada70
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-05 18:42:41
Source code size: 145 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 194
Version history: 2 change(s)
Referenced in: [show references]