sclass SelfNotifyingSet<A> extends NotifyingSet<A> { *() { super(new HashSet); } *(Set<A> set) { super(set); } void change { notifyAll(); } }
Began life as a copy of #1033399
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033400 |
Snippet name: | SelfNotifyingSet - a collection you can wait() on |
Eternal ID of this version: | #1033400/1 |
Text MD5: | 8e790f41e52fd59815d853689260b8ec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 04:29:40 |
Source code size: | 157 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 147 / 199 |
Referenced in: | [show references] |