Libraryless. Click here for Pure Java version (1774L/11K).
static <A> void syncAddToSortedList(O comparator, L<A> l, A a) { synchronized(collectionMutex(l)) { l.add(findListInsertionPoint(comparator, l, a), a); } }
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: | #1024790 |
| Snippet name: | syncAddToSortedList |
| Eternal ID of this version: | #1024790/2 |
| Text MD5: | 0071e1ea6d0928fdf870a36995df5fad |
| Transpilation MD5: | 52daa06af323f8a4074dd6d0157121c2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-25 19:13:25 |
| Source code size: | 167 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 416 / 559 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |