Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1036241 // SetWithChangeListeners

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10446L/58K).

sclass SetWithChangeListeners<A> extends NotifyingSet<A> is IHasChangeListeners {
  event fireChange;
  void change() { fireChange(); }
  
  *() { super(new Set); }
  *(Set<A> set) { super(set); }
}

Author comment

Began life as a copy of #1036182

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036241
Snippet name: SetWithChangeListeners
Eternal ID of this version: #1036241/4
Text MD5: 2227104f308dabc7e5a29f46111130f8
Transpilation MD5: 709ca7b9d6d6f49b2dd8196c12d2d9c8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-30 17:34:48
Source code size: 204 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 124 / 192
Version history: 3 change(s)
Referenced in: #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167)
#1036386 - TreeSetWithChangeListeners