git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-09-28 21:49:50 +00:00
parent f236265e32
commit 8b6040783b
1 changed files with 4 additions and 4 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/observed/Attic/ObservableSortedSet.java,v 1.1 2003/09/21 20:01:53 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/observed/Attic/ObservableSortedSet.java,v 1.2 2003/09/28 21:49:50 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -70,7 +70,7 @@ import java.util.SortedSet;
* 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.1 $ $Date: 2003/09/21 20:01:53 $ * @version $Revision: 1.2 $ $Date: 2003/09/28 21:49:50 $
* *
* @author Stephen Colebourne * @author Stephen Colebourne
*/ */
@ -100,7 +100,7 @@ public class ObservableSortedSet extends ObservableSet implements SortedSet {
* {@link org.apache.commons.collections.observed.standard.StandardModificationListener} * {@link org.apache.commons.collections.observed.standard.StandardModificationListener}
* interface and pass it in as the second parameter. * interface and pass it in as the second parameter.
* <p> * <p>
* Internally, an <code>ObservableSet</code> relies on a {@link ModificationHandler}. * Internally, an <code>ObservableSortedSet</code> relies on a {@link ModificationHandler}.
* The handler receives all the events and processes them, typically by * The handler receives all the events and processes them, typically by
* calling listeners. Different handler implementations can be plugged in * calling listeners. Different handler implementations can be plugged in
* to provide a flexible event system. * to provide a flexible event system.
@ -128,7 +128,7 @@ public class ObservableSortedSet extends ObservableSet implements SortedSet {
final Object listener) { final Object listener) {
if (set == null) { if (set == null) {
throw new IllegalArgumentException("Set must not be null"); throw new IllegalArgumentException("SortedSet must not be null");
} }
return new ObservableSortedSet(set, listener); return new ObservableSortedSet(set, listener);
} }