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

10
LINES

< > BotCompany Repo | #1004990 // Test structure/unstructure with int[]

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

Libraryless. Click here for Pure Java version (1820L/12K/40K).

1  
!752
2  
3  
p {
4  
  S s = structure(new int[] {123, -123});
5  
  print(s);
6  
  int[] b = (int[]) unstructure(s);
7  
  S s2 = structure(b);
8  
  assertEquals(s, s2);
9  
  print("ok");
10  
}

Author comment

Began life as a copy of #1004902

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004990
Snippet name: Test structure/unstructure with int[]
Eternal ID of this version: #1004990/1
Text MD5: 794ba37d9e4cd28f2447f11d41563d1b
Transpilation MD5: d18a985ed52e1e7bb59ec204bb26db1c
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-21 17:10:01
Source code size: 171 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 532 / 628
Referenced in: [show references]