You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/09/04 00:29:51 UTC

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/decorators ObservedSet.java ObservedList.java ObservedCollection.java

scolebourne    2003/09/03 15:29:51

  Modified:    collections/src/java/org/apache/commons/collections/decorators
                        ObservedSet.java ObservedList.java
                        ObservedCollection.java
  Log:
  Javadoc
  
  Revision  Changes    Path
  1.5       +3 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/ObservedSet.java
  
  Index: ObservedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/ObservedSet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ObservedSet.java	3 Sep 2003 00:11:28 -0000	1.4
  +++ ObservedSet.java	3 Sep 2003 22:29:50 -0000	1.5
  @@ -63,20 +63,13 @@
   import org.apache.commons.collections.event.ModificationHandlerFactory;
   
   /**
  - * <code>ObservedSet</code> decorates a <code>Set</code>
  - * implementation to observe changes.
  + * Decorates a <code>Set</code> implementation to observe modifications.
    * <p>
    * Each modifying method call made on this <code>Set</code> is forwarded to a
    * {@link ModificationHandler}.
    * The handler manages the event, notifying listeners and optionally vetoing changes.
    * The default handler is {@link StandardModificationHandler}.
    * See this class for details of configuration available.
  - * <p>
  - * For convenience, add, remove and get listener methods are made available on
  - * this class. They accept a generic listener type, whereas handlers generally
  - * require a specific type. Thus a ClassCastException may be thrown from these
  - * methods. They may also throw UnsupportedOperationException if the handler
  - * uses a technique other than listeners to communicate events.
    *
    * @since Commons Collections 3.0
    * @version $Revision$ $Date$
  
  
  
  1.5       +3 -10     jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/ObservedList.java
  
  Index: ObservedList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/ObservedList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ObservedList.java	3 Sep 2003 00:11:28 -0000	1.4
  +++ ObservedList.java	3 Sep 2003 22:29:51 -0000	1.5
  @@ -65,20 +65,13 @@
   import org.apache.commons.collections.event.ModificationHandlerFactory;
   
   /**
  - * <code>ObservedList</code> decorates a <code>List</code>
  - * implementation to observe changes.
  + * Decorates a <code>List</code> implementation to observe modifications.
    * <p>
    * Each modifying method call made on this <code>List</code> is forwarded to a
    * {@link ModificationHandler}.
    * The handler manages the event, notifying listeners and optionally vetoing changes.
    * The default handler is {@link StandardModificationHandler}.
    * See this class for details of configuration available.
  - * <p>
  - * For convenience, add, remove and get listener methods are made available on
  - * this class. They accept a generic listener type, whereas handlers generally
  - * require a specific type. Thus a ClassCastException may be thrown from these
  - * methods. They may also throw UnsupportedOperationException if the handler
  - * uses a technique other than listeners to communicate events.
    *
    * @since Commons Collections 3.0
    * @version $Revision$ $Date$
  
  
  
  1.6       +3 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/ObservedCollection.java
  
  Index: ObservedCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/ObservedCollection.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ObservedCollection.java	3 Sep 2003 00:11:28 -0000	1.5
  +++ ObservedCollection.java	3 Sep 2003 22:29:51 -0000	1.6
  @@ -65,8 +65,7 @@
   import org.apache.commons.collections.event.StandardModificationHandler;
   
   /**
  - * <code>ObservedCollection</code> decorates a <code>Collection</code>
  - * implementation to observe changes in the collection.
  + * Decorates a <code>Collection</code> implementation to observe modifications.
    * <p>
    * Each modifying method call made on this <code>Collection</code> is forwarded to a
    * {@link ModificationHandler}.