Return-Path:
* Using this collection will bypass any decorators that have been added
- * to the
* For the synchronization case, you are normally OK however. If you
@@ -115,12 +115,12 @@
*
* @return the collection
*/
- public ObservedCollection getObservedCollection() {
+ public ObservableCollection getObservedCollection() {
return collection;
}
/**
- * Gets the base collection underlying the observed collection.
+ * Gets the base collection underlying the observable collection.
*
* Using this collection will bypass the event sending mechanism.
* It will also bypass any other decorators, such as synchronization.
@@ -161,7 +161,7 @@
*/
public String toString() {
StringBuffer buf = new StringBuffer(64);
- buf.append("ObservedEvent[type=");
+ buf.append("ModificationEvent[type=");
buf.append(ModificationEventType.toString(type));
buf.append(']');
return buf.toString();
1.2 +3 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/observed/package.html
Index: package.html
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/observed/package.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- package.html 3 Sep 2003 23:54:26 -0000 1.1
+++ package.html 21 Sep 2003 16:00:28 -0000 1.2
@@ -5,10 +5,10 @@
is supplied, but alternatives can be added, see ModificationHandler.
Each decorator can be constructed using a static
-ObservedCollection
. For example, if a synchronized
+ * to the ObservableCollection
. For example, if a synchronized
* decorator was added it will not be called by changes to this collection.
* decorate()
method on
-the ObservedXxx class. They can also be constructed from the XxxUtils
+the ObservableXxx class. They can also be constructed from the XxxUtils
class (where Xxx is the collection type).
List observedList = ObservedList.decorate(new ArrayList(), listener);
+List observableList = ObservableList.decorate(new ArrayList(), listener);
OR
-List observedList = ListUtils.observedList(new ArrayList(), listener);
+List observableList = ListUtils.observableList(new ArrayList(), listener);
This package contains a standard implementation of the modification event classes -that are used with ObservedCollection. +that are used with ObservableCollection et al.