static <A extends Component> A removeFromParentAfter(double seconds, A c) { if (c == null) null; final WeakReference<A> ref = weakRef(c); doAfter(seconds, r { removeFromParent(ref!) }); ret c; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020263 |
Snippet name: | removeFromParentAfter |
Eternal ID of this version: | #1020263/2 |
Text MD5: | 963dbbf8bf5c71c8646e7118b7d3bf43 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-12 01:13:00 |
Source code size: | 207 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 255 / 283 |
Version history: | 1 change(s) |
Referenced in: | [show references] |