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

8
LINES

< > BotCompany Repo | #1025469 // structure_nullingInstancesOfClass - structure with references to instances of a certain class set to null

JavaX fragment (include)

sS structure_nullingInstancesOfClass(Class c, O o) {
  if (c == null) ret structure(o);
  new structure_Data data;
  new structure_ClassInfo info;
  info.special = info.nullInstances = true;
  data.infoByClass.put(c, info);
  ret structure(o, data);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025469
Snippet name: structure_nullingInstancesOfClass - structure with references to instances of a certain class set to null
Eternal ID of this version: #1025469/4
Text MD5: 25a9ac943a0f62cb405b08625dc2a1a0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-29 16:18:30
Source code size: 260 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 216
Version history: 3 change(s)
Referenced in: [show references]