Libraryless. Click here for Pure Java version (2732L/16K).
1 | static <A> void syncRemoveLast(L<A> l) { |
2 | if (l != null) synchronized(l) { |
3 | removeLast(l); |
4 | } |
5 | } |
6 | |
7 | static void syncRemoveLast(L l, int n) { |
8 | if (l != null) synchronized(l) { |
9 | removeLast(l, n); |
10 | } |
11 | } |
12 | |
13 | svoid syncRemoveLast(int n, L l) { |
14 | syncRemoveLast(l, n); |
15 | } |
Began life as a copy of #1029659
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030656 |
Snippet name: | syncRemoveLast - synchronized version of removeLast |
Eternal ID of this version: | #1030656/3 |
Text MD5: | 82fbdb5128424f20dfe948d2559e3952 |
Transpilation MD5: | ff3e7b4389dcdf7f26f07f2c1c444242 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-02-20 16:32:40 |
Source code size: | 281 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 181 / 256 |
Version history: | 2 change(s) |
Referenced in: | [show references] |