git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131129 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-09-03 22:29:51 +00:00
parent 3cdd772317
commit 75f96422de
3 changed files with 9 additions and 24 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/ObservedCollection.java,v 1.5 2003/09/03 00:11:28 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/ObservedCollection.java,v 1.6 2003/09/03 22:29:51 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -65,8 +65,7 @@ import org.apache.commons.collections.event.ModificationHandlerFactory;
import org.apache.commons.collections.event.StandardModificationHandler; import org.apache.commons.collections.event.StandardModificationHandler;
/** /**
* <code>ObservedCollection</code> decorates a <code>Collection</code> * Decorates a <code>Collection</code> implementation to observe modifications.
* implementation to observe changes in the collection.
* <p> * <p>
* Each modifying method call made on this <code>Collection</code> is forwarded to a * Each modifying method call made on this <code>Collection</code> is forwarded to a
* {@link ModificationHandler}. * {@link ModificationHandler}.
@ -75,7 +74,7 @@ import org.apache.commons.collections.event.StandardModificationHandler;
* See this class for details of configuration available. * See this class for details of configuration available.
* *
* @since Commons Collections 3.0 * @since Commons Collections 3.0
* @version $Revision: 1.5 $ $Date: 2003/09/03 00:11:28 $ * @version $Revision: 1.6 $ $Date: 2003/09/03 22:29:51 $
* *
* @author Stephen Colebourne * @author Stephen Colebourne
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/ObservedList.java,v 1.4 2003/09/03 00:11:28 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/ObservedList.java,v 1.5 2003/09/03 22:29:51 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -65,23 +65,16 @@ import org.apache.commons.collections.event.ModificationHandler;
import org.apache.commons.collections.event.ModificationHandlerFactory; import org.apache.commons.collections.event.ModificationHandlerFactory;
/** /**
* <code>ObservedList</code> decorates a <code>List</code> * Decorates a <code>List</code> implementation to observe modifications.
* implementation to observe changes.
* <p> * <p>
* Each modifying method call made on this <code>List</code> is forwarded to a * Each modifying method call made on this <code>List</code> is forwarded to a
* {@link ModificationHandler}. * {@link ModificationHandler}.
* The handler manages the event, notifying listeners and optionally vetoing changes. * The handler manages the event, notifying listeners and optionally vetoing changes.
* The default handler is {@link StandardModificationHandler}. * The default handler is {@link StandardModificationHandler}.
* See this class for details of configuration available. * 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 * @since Commons Collections 3.0
* @version $Revision: 1.4 $ $Date: 2003/09/03 00:11:28 $ * @version $Revision: 1.5 $ $Date: 2003/09/03 22:29:51 $
* *
* @author Stephen Colebourne * @author Stephen Colebourne
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/ObservedSet.java,v 1.4 2003/09/03 00:11:28 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/decorators/Attic/ObservedSet.java,v 1.5 2003/09/03 22:29:50 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -63,23 +63,16 @@ import org.apache.commons.collections.event.ModificationHandler;
import org.apache.commons.collections.event.ModificationHandlerFactory; import org.apache.commons.collections.event.ModificationHandlerFactory;
/** /**
* <code>ObservedSet</code> decorates a <code>Set</code> * Decorates a <code>Set</code> implementation to observe modifications.
* implementation to observe changes.
* <p> * <p>
* Each modifying method call made on this <code>Set</code> is forwarded to a * Each modifying method call made on this <code>Set</code> is forwarded to a
* {@link ModificationHandler}. * {@link ModificationHandler}.
* The handler manages the event, notifying listeners and optionally vetoing changes. * The handler manages the event, notifying listeners and optionally vetoing changes.
* The default handler is {@link StandardModificationHandler}. * The default handler is {@link StandardModificationHandler}.
* See this class for details of configuration available. * 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 * @since Commons Collections 3.0
* @version $Revision: 1.4 $ $Date: 2003/09/03 00:11:28 $ * @version $Revision: 1.5 $ $Date: 2003/09/03 22:29:50 $
* *
* @author Stephen Colebourne * @author Stephen Colebourne
*/ */