Libraryless. Click here for Pure Java version (1661L/10K/37K).
!752 p { assertEquals("5", structure(5)); assertEquals("5L", structure(5L)); assertEquals("[5, 5L]", structure(ll(5, 5L))); unstructure_debug = true; L l = cast unstructure("[5, 5L]"); assertEquals("[5, 5L]", structure(l)); assertEquals(5, (int) l.get(0)); assertEquals(5L, (long) l.get(1)); print("ok"); }
Began life as a copy of #1002046
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: | #1004628 |
Snippet name: | Try structure/unstructure with int |
Eternal ID of this version: | #1004628/1 |
Text MD5: | dafaf8a4822bd0aa31658af3ff476118 |
Transpilation MD5: | eeab811b1f40da7d12325c5008a90934 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-28 22:01:28 |
Source code size: | 343 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 499 / 590 |
Referenced in: | [show references] |