static <A> AutoCloseable tempAddToMultiSet(final MultiSet<A> ms, final A a) { if (ms == null) null; ms.add(a); ret autocloseable { ms.remove(a); }; }
Began life as a copy of #1016546
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016563 |
Snippet name: | tempAddToMultiSet |
Eternal ID of this version: | #1016563/1 |
Text MD5: | 7cf438c200891aeee4b10b7daf1c90ad |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-23 17:20:48 |
Source code size: | 159 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 350 / 382 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1017722 - tempAdd - temporarily add to collection or container |