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

10
LINES

< > BotCompany Repo | #1025343 // Test setOpt and DynamicObject

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

Download Jar. Libraryless. Click here for Pure Java version (8168L/58K).

!7

p-exp {
  O o = new DynamicObject;
  set flag setOpt_debug.
  setOpt(o, test := "yo");
  printStruct(o);
  print(o/DynamicObject.fieldValues);
  assertEqualsVerbose("yo", getString(o, "test"));
}

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: #1025343
Snippet name: Test setOpt and DynamicObject
Eternal ID of this version: #1025343/1
Text MD5: 568bb960590c655d67c9f0578477be64
Transpilation MD5: 784b30447a31dcd4dcbee6b58df2184e
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-24 01:42:19
Source code size: 210 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 291 / 1027
Referenced in: [show references]