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

17
LINES

< > BotCompany Repo | #1016181 // Correct type of DynModule snippets

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (6598L/48K).

!7

static Map<S, Snippet> l;

p {
  L<S> baseClasses = splitAtSpace("DynModule DynSCP DynBigNumber DynCalculatedList DynTable");
  l = new HashMap;
  for (S baseClass : baseClasses)
    l.putAll(indexByField('id, tbSearch(100, "type:javax extends_" + baseClass)));
  pnlStruct(l);
  showButton("Do it", rThread(r doIt));
}

svoid doIt {
  for (Snippet s : values(l))
    setSnippetType(s.id, snippetType_dynModule());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016181
Snippet name: Correct type of DynModule snippets
Eternal ID of this version: #1016181/7
Text MD5: c0d2e3dac5a5c219aea749b1b238ef37
Transpilation MD5: 5d70b96a96adec35c2d1a79a1508be47
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-08 15:14:45
Source code size: 436 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 357 / 821
Version history: 6 change(s)
Referenced in: [show references]