Download Jar. Libraryless. Click here for Pure Java version (14692L/102K).
!7 p { set allWebs_transientOnly; ai_postTransientTriple_force.set(true); S id = aGlobalID(); assertCollectionContents(ll(), printStruct(ai_invalidatedWebs())); // invalidate Web web = ai_invalidateWebTransiently(id); assertCollectionContents(ll(id), printStruct(ai_invalidatedWebs())); // invalidate again Web web2 = ai_invalidateWebTransiently(id); assertCollectionContents(ll(id), printStruct(ai_invalidatedWebs())); print("remove one"); removeTransientWeb(web); assertCollectionContents(ll(id), printStruct(ai_invalidatedWebs())); print("remove the other"); removeTransientWeb(web2); assertCollectionContents(ll(), printStruct(ai_invalidatedWebs())); 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: | #1011419 |
Snippet name: | Test ai_invalidatedWebs [OK] |
Eternal ID of this version: | #1011419/6 |
Text MD5: | 8010d6e1f68baf8af8f4de64b4acf09a |
Transpilation MD5: | 720ad49305a2ecfcf6dcf4de2c09c951 |
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-29 01:57:48 |
Source code size: | 748 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 443 / 1065 |
Version history: | 5 change(s) |
Referenced in: | -