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


< > BotCompany Repo | #1004543 - class DynamicObject

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

Libraryless. Click here for Pure Java version (2154L/14K).

static new ThreadLocal<Boolean> DynamicObject_loading;

static class DynamicObject {
  S className; // just the name, without the "main$"
  LinkedHashMap<S, O> fieldValues;
  *() {}
  // className = just the name, without the "main$"
  *(S *className) {}
  Map<S, O> _map() { ret fieldValues; }
  toString {
    ret getClass() == DynamicObject.class ? "dyn " + className
      : super.toString();

Author comment

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

download  show line numbers  debug dex   

Travelled to 29 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, fehiwqupcyrn, gwrvuhgaqvyk, imzmzdywqqli, ishqpsrjomds, jcllbfdqhrgy, jtubtzbbkimh, lhdilzshxjzv, lpdgvwnxivlt, lulzaavyztxj, mqqgnosmbjvj, ofpaelxlmzfo, onxytkatvevr, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, snaazhdonpnp, tslmcundralx, tvejysmllsmz, whxojlpjdney, wtqryiryparv, xfddqsrefgvo, xprdwmaupziu, xrpafgyirdlv

No comments. add comment

Snippet ID: #1004543
Snippet name: class DynamicObject
Eternal ID of this version: #1004543/8
Text MD5: c5935f799336651e19047ef1d42903a3
Transpilation MD5: 97f16232052f2275a8ead440db4c2476
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:28:58
Source code size: 427 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 552 / 15821
Version history: 7 change(s)
Referenced in: [show references]

Formerly at &