1 | static <A> AutoCloseable tempAddToList_exclusive(final L<A> l, final A a) { |
2 | if (l == null) null; |
3 | l.add(a); |
4 | ret autocloseable { removeLast(l); }; |
5 | } |
Began life as a copy of #1017722
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018331 |
Snippet name: | tempAddToList_exclusive - temporarily add to list that only we work on |
Eternal ID of this version: | #1018331/1 |
Text MD5: | 4584a047ecd5c895c1a63689293c0dba |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-19 21:18:18 |
Source code size: | 156 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 386 / 386 |
Referenced in: | [show references] |