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

12
LINES

< > BotCompany Repo | #1004543 - class DynamicObject

JavaX fragment (include)

static new ThreadLocal<Boolean> DynamicObject_loading;

static class DynamicObject {
  S className; // just the name, without the "main$"
  /*new XXX - not initializing anymore - may cause problems in the odd legacy program */ LinkedHashMap<S, O> fieldValues;
  
  *() {}
  // className = just the name, without the "main$"
  *(S *className) {}
  
  Map<S, O> _map() { ret fieldValues; }
}

Author comment

We merged stuff from Concept here to allow for loading unknown concepts.

download  show line numbers  debug dex   

Travelled to 21 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, fehiwqupcyrn, gwrvuhgaqvyk, imzmzdywqqli, ishqpsrjomds, jtubtzbbkimh, lhdilzshxjzv, lpdgvwnxivlt, lulzaavyztxj, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, sawdedvomwva, tslmcundralx, tvejysmllsmz, whxojlpjdney, wtqryiryparv, xprdwmaupziu

No comments. add comment

Snippet ID: #1004543
Snippet name: class DynamicObject
Eternal ID of this version: #1004543/5
Text MD5: d6c6690d88e7c8fd3d65c30a40a73988
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-13 14:39:05
Source code size: 400 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 15127
Version history: 4 change(s)
Referenced in: [show references]