Libraryless. Click here for Pure Java version (11120L/61K).
svoid test_SynchronizedTypedArrayList() { var list = new SynchronizedTypedArrayList(S.class); list.add("hello"); assertEqualsVerbose(ll("hello"), list); assertException(-> list.add(123)); assertEqualsVerbose(ll("hello"), list); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036531 |
Snippet name: | test_SynchronizedTypedArrayList (OK) |
Eternal ID of this version: | #1036531/2 |
Text MD5: | 9d17b43306a225f581247bb7aa1f2401 |
Transpilation MD5: | 32d422aa8eb6dd3b7e3ace3f55285321 |
Author: | stefan |
Category: | javax / collections |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-01-23 15:10:17 |
Source code size: | 245 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 157 / 206 |
Version history: | 1 change(s) |
Referenced in: | [show references] |