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

11
LINES

< > BotCompany Repo | #1015376 // Test return value of weakhashset.add

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

Download Jar. Libraryless. Click here for Pure Java version (6572L/44K).

!7

p {
  Set set = weakHashSet();
  //S a = "hello", b = "bello";
  JButton a = jbutton("A"), b = jbutton("B");
  assertFalse(add(set, a));
  assertFalse(add(set, b));
  assertTrue(add(set, a));
  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: #1015376
Snippet name: Test return value of weakhashset.add
Eternal ID of this version: #1015376/4
Text MD5: 0db4f6c2d91fa8d3ea436525879f85f5
Transpilation MD5: afbe581e92febbaa2f03844bfe69fd19
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 14:22:18
Source code size: 222 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 954
Version history: 3 change(s)
Referenced in: