moremore0812 / cqengine

Automatically exported from code.google.com/p/cqengine
0 stars 0 forks source link

Add listeners (observers) to IndexedCollection #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From discussion in the forum: 
https://groups.google.com/forum/#!topic/cqengine-discuss/8sPccIElN7M

Should add an ObservableIndexedCollection, which can wrap another, and notify a 
given listener when objects are added and removed. 

This will be purely a wrapper so will not have any impact on applications not 
requiring this functionality.

Original issue reported on code.google.com by ni...@npgall.com on 25 Nov 2013 at 9:49

GoogleCodeExporter commented 9 years ago
Checked in initial work: 
http://code.google.com/p/cqengine/source/browse/cqengine/trunk/src/main/java/com
/googlecode/cqengine/collection/impl/ObservableIndexedCollection.java

Original comment by ni...@npgall.com on 25 Nov 2013 at 9:53

GoogleCodeExporter commented 9 years ago

Original comment by ni...@npgall.com on 25 Nov 2013 at 9:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Backed out/shelved changes from trunk until unit tests can be provided 
(discussion in forum).

Original comment by ni...@npgall.com on 21 Dec 2013 at 12:53

GoogleCodeExporter commented 9 years ago
Attaching the shelved changes as a patch which can be applied later.

Original comment by ni...@npgall.com on 21 Dec 2013 at 2:54

Attachments: