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

6
LINES

< > BotCompany Repo | #1026270 - shallowCloneToUnlistedConcept

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

Libraryless. Click here for Pure Java version (12696L/86K).

static <A extends Concept> A nuLike shallowCloneToUnlistedConcept(Class<A> c, O o) {
  if (o == null) null;
  A cc = unlisted(c);
  copyFields(o, cc, conceptFields(c));
  ret cc;
}

Author comment

Began life as a copy of #1026269

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1026270
Snippet name: shallowCloneToUnlistedConcept
Eternal ID of this version: #1026270/3
Text MD5: 50d882ed25129cc1915ad5c618341cad
Transpilation MD5: 51ff9ad582fd4266aebee70bd95de7bb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-12-09 23:03:49
Source code size: 185 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 11 / 28
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1026270 & http://1026270.tinybrain.de