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).

1  
svoid test_structure_synchroLinkedHashMap() {
2  
  Map m = synchroLinkedHashMap();
3  
  m.put("a", "b");
4  
  testStructureFunction(m);
5  
  assertTrue(unwrapSynchronizedMap(restruct(m)) instanceof LinkedHashMap);
6  
  print("OK");
7  
}

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: 261 / 358
Referenced in: [show references]