scolebourne 2003/09/20 14:10:34
Modified: primitives/src/java/org/apache/commons/primitive/list
PrimitiveList.java IntList.java
Log:
Tidy List interfaces
Revision Changes Path
1.2 +2 -2
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/PrimitiveList.java
Index: PrimitiveList.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/PrimitiveList.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PrimitiveList.java 7 Sep 2003 23:52:10 -0000 1.1
+++ PrimitiveList.java 20 Sep 2003 21:10:34 -0000 1.2
@@ -78,6 +78,6 @@
* @param toIndexExclusive the end of the range to remove, exclusive
* @return <code>true</code> if the collection was modified
*/
- boolean removeRange(int fromIndexInclusive, int toIndexExclusive);
+ boolean remove(int fromIndexInclusive, int toIndexExclusive);
}
1.2 +3 -2
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/IntList.java
Index: IntList.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/IntList.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- IntList.java 7 Sep 2003 23:52:10 -0000 1.1
+++ IntList.java 20 Sep 2003 21:10:34 -0000 1.2
@@ -53,6 +53,7 @@
*/
package org.apache.commons.primitive.list;
+import org.apache.commons.primitive.collection.IntCollection;
import org.apache.commons.primitive.listiterator.IntListIterator;
/**
@@ -66,7 +67,7 @@
* @version $Id$
* @since 1.0
*/
-public interface IntList extends PrimitiveList {
+public interface IntList extends PrimitiveList, IntCollection {
// Mandatory operations
//-----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]