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 | } |
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: | 834 / 963 |
| Referenced in: | [show references] |