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

10
LINES

< > BotCompany Repo | #1004902 // Test structure/unstructure with bool[]

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

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

!752

p {
  S s = structure(new bool[] {false, true, false, true, false, true, false, true, false, false, false, false, true, true, true, true, true});
  print(s);
  bool[] b = (bool[]) unstructure(s);
  S s2 = structure(b);
  assertEquals(s, s2);
  print("ok");
}

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: #1004902
Snippet name: Test structure/unstructure with bool[]
Eternal ID of this version: #1004902/1
Text MD5: c23309048ad6637adaab655981760ae0
Transpilation MD5: 0e12710d732cfdc7c0938c345c0a4112
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-15 23:20:56
Source code size: 273 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 533 / 574
Referenced in: [show references]