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

7
LINES

< > BotCompany Repo | #1024874 // test_structure_synchroLinkedHashMap

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5127L/32K).

svoid test_structure_synchroLinkedHashMap() {
  Map m = synchroLinkedHashMap();
  m.put("a", "b");
  testStructureFunction(m);
  assertTrue(unwrapSynchronizedMap(restruct(m)) instanceof LinkedHashMap);
  print("OK");
}

Author comment

Began life as a copy of #1024865

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024874
Snippet name: test_structure_synchroLinkedHashMap
Eternal ID of this version: #1024874/1
Text MD5: 90e7ce5b2b8cfa9f67ba096622da93ab
Transpilation MD5: 2e7aebc20ab9d697ff1feadb32174d8f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-28 12:04:42
Source code size: 224 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 356
Referenced in: [show references]