Download Jar. Libraryless. Click here for Pure Java version (4420L/28K).
!7 p { S s = "\"Web(created=1508963248276L, globalID=\\\"jmcdsbkefyyhkyvo\\\", index=MultiMap(data=hm{l(\\\"an object\\\")=[WebNode(labels=[t18], web=t0, x=d(\\\"0.8\\\"), y=d(\\\"0.7\\\"))], l(\\\"a glass\\\")=[WebNode(labels=[t52], web=t0, x=d(\\\"0.2\\\"), y=d(\\\"0.2\\\"))], l(\\\"is\\\")=[WebRelation(a=t58, b=t24, labels=[t86], web=t0, x=d(\\\"0.0\\\"), y=d(\\\"0.0\\\"))]}), labelsToUpper=f, nodes=[t58, t24, t92], pots=hm{}, relations=hm{Pair(a=t58, b=t24)=t92}, size=6, useCLParse=f)\""; Web web = cast unstructure(unquote(s)); assertEqualsVerbose(1508963248276L, web.created); s = "\"Web(globalID=\\\"ntlgslqdtovypbow\\\", index=MultiMap(data=hm{l(\\\"a sentence\\\")=[WebNode(labels=[t14], web=t0, x=d(\\\"0.2\\\"), y=d(\\\"0.2\\\"))], l(\\\"a string of words\\\")=[WebNode(labels=[t48], web=t0, x=d(\\\"0.8\\\"), y=d(\\\"0.7\\\"))], l(\\\"is\\\")=[WebRelation(a=t20, b=t54, labels=[t82], web=t0, x=d(\\\"0.0\\\"), y=d(\\\"0.0\\\"))]}), labelsToUpper=f, nodes=[t20, t54, t88], pots=hm{}, relations=hm{Pair(a=t20, b=t54)=t88}, size=6, useCLParse=f)\""; web = (Web) unstructure(unquote(s)); assertEqualsVerbose(0L, web.created); assertTrue(new Web().created != 0); print("OK"); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011361 |
Snippet name: | Test unstructuring web [OK] |
Eternal ID of this version: | #1011361/9 |
Text MD5: | b0574ac3254d974490fad5d9857c50bf |
Transpilation MD5: | 2e82d7124af022c244a6a2a1f0d5d9b6 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-25 23:01:47 |
Source code size: | 1225 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 462 / 1058 |
Version history: | 8 change(s) |
Referenced in: | [show references] |