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

20
LINES

< > BotCompany Repo | #1003278 // Test structure/unstructure with chars

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

Libraryless. Click here for Pure Java version (1575L/10K/34K).

!752

sclass A {
  char c;
  Character d;
  
  *() {}
  *(char *c, Character *d) {}
}

p {
  A a = new A('a', 'b');
  
  S s = structure(a);
  print(s);
  S s2 = structure(unstructure(s));
  print(s2);
  assertEquals(s, s2);
  print("OK");
}

Author comment

Began life as a copy of #1003038

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003278
Snippet name: Test structure/unstructure with chars
Eternal ID of this version: #1003278/1
Text MD5: 90e7c934b2cc7f91961281dc3b36af1b
Transpilation MD5: 3b82cc5299903631a5e48fbe36005a59
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-20 15:50:41
Source code size: 260 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 534 / 586
Referenced in: [show references]