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

14
LINES

< > BotCompany Repo | #1032096 // Test WeakCompactLinkedHashSet (so far, it works)

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 1113K of libraries. Click here for Pure Java version (7930L/41K).

!7

cm > DynTestModule {
  void test {
    new WeakCompactLinkedHashSet set;
    set.add("hello");
    set.add("world");
    print(set);
    assertEquals(2, l(set));
    assertEquals("hello", set.find(new String("hello")));
    assertNull(set.find("hallo"));
    print("OK");
  }
}

Author comment

Began life as a copy of #1012722

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032096
Snippet name: Test WeakCompactLinkedHashSet (so far, it works)
Eternal ID of this version: #1032096/1
Text MD5: f16b95a1da5465e3cbc12dadb121746d
Transpilation MD5: 07c857d8709dae7d21eef3bf958a3bc8
Author: stefan
Category: javax / collections
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 14:43:12
Source code size: 294 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 67 / 122
Referenced in: [show references]