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).

1  
!752
2  
3  
sclass A {
4  
  char c;
5  
  Character d;
6  
  
7  
  *() {}
8  
  *(char *c, Character *d) {}
9  
}
10  
11  
p {
12  
  A a = new A('a', 'b');
13  
  
14  
  S s = structure(a);
15  
  print(s);
16  
  S s2 = structure(unstructure(s));
17  
  print(s2);
18  
  assertEquals(s, s2);
19  
  print("OK");
20  
}

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: 606 / 686
Referenced in: [show references]