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

11
LINES

< > BotCompany Repo | #1017671 // Test VM-wide UniqueString (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (5628L/40K).

!7

import static x30_pkg.x30_util.UniqueString;
import static x30_pkg.x30_util.uniqueString;

p-exp {
  assertSame(uniqueString("hello"), uniqueString("hello"));
  assertEquals("hello", str(uniqueString("hello")));
  assertNotSame(uniqueString("hello"), uniqueString("hallo"));
  print("OK");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

-
Snippet ID: #1017671
Snippet name: Test VM-wide UniqueString (OK)
Eternal ID of this version: #1017671/3
Text MD5: 6bc5784c5040f270fa813470dedb7e51
Transpilation MD5: a6bec40435d7772032f1552f74002572
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-31 23:11:15
Source code size: 305 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 976
Version history: 2 change(s)
Referenced in: