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

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

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: 133 / 198
Version history: 2 change(s)
Referenced in: [show references]