Placed Abstract*ArrayList layer under Abstract*List layer. Erased

Serializable declarations from all abstract superclasses (but kept it in
all concrete implementations).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
pjack 2002-08-21 23:54:18 +00:00
parent 7617bc52ce
commit ebdaf3cb68
12 changed files with 358 additions and 112 deletions

View File

@ -0,0 +1,103 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
* any, must include the following acknowlegement:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
* from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache"
* nor may "Apache" appear in their names without prior written
* permission of the Apache Group.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
*/
package org.apache.commons.collections.primitives;
import java.io.Serializable;
import java.util.AbstractList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
/**
* Abstract base class for lists backed by an <Code>int</Code> array.
*
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public abstract class AbstractIntArrayList extends AbstractIntList {
//------------------------------------------------------ Abstract Accessors
/**
* Returns the maximum size the list can reach before the array
* is resized.
*
* @return the maximum size the list can reach before the array is resized
*/
abstract public int capacity();
/**
* Ensures that the length of the internal <Code>int</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
*/
abstract public void ensureCapacity(int mincap);
/**
* Resizes the internal array such that {@link #capacity()} is equal
* to {@link #size()}.
*/
abstract public void trimToSize();
}

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntList.java,v 1.1 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.1 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractIntList.java,v 1.2 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.2 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -71,22 +71,13 @@ import java.util.ListIterator;
/**
* Abstract base class for lists backed by an <Code>int</Code> array.
*
* @version $Revision: 1.1 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.2 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public abstract class AbstractIntList extends AbstractList implements List, Serializable {
public abstract class AbstractIntList extends AbstractList {
//------------------------------------------------------ Abstract Accessors
/**
* Returns the maximum size the list can reach before the array
* is resized.
*
* @return the maximum size the list can reach before the array is resized
*/
abstract public int capacity();
/**
* Returns the number of <Code>int</Code> elements currently in this
* list.
@ -268,20 +259,6 @@ public abstract class AbstractIntList extends AbstractList implements List, Seri
*/
abstract public void clear();
/**
* Ensures that the length of the internal <Code>int</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
*/
abstract public void ensureCapacity(int mincap);
/**
* Resizes the internal array such that {@link #capacity()} is equal
* to {@link #size()}.
*/
abstract public void trimToSize();
//--------------------------------------------------------------- Modifiers
/**

View File

@ -0,0 +1,105 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
* any, must include the following acknowlegement:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
* from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache"
* nor may "Apache" appear in their names without prior written
* permission of the Apache Group.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
*/
package org.apache.commons.collections.primitives;
import java.io.Serializable;
import java.util.AbstractList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
/**
* Abstract base class for lists backed by a <Code>long</Code> array.
*
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public abstract class AbstractLongArrayList extends AbstractLongList {
//------------------------------------------------------ Abstract Accessors
/**
* Returns the maximum size the list can reach before the array
* is resized.
*
* @return the maximum size the list can reach before the array is resized
*/
abstract public int capacity();
//------------------------------------------------------ Abstract Modifiers
/**
* Ensures that the length of the internal <Code>long</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
*/
abstract public void ensureCapacity(int mincap);
/**
* Resizes the internal array such that {@link #capacity()} is equal
* to {@link #size()}.
*/
abstract public void trimToSize();
}

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongList.java,v 1.1 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.1 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractLongList.java,v 1.2 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.2 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -71,21 +71,13 @@ import java.util.ListIterator;
/**
* Abstract base class for lists backed by a <Code>long</Code> array.
*
* @version $Revision: 1.1 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.2 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public abstract class AbstractLongList extends AbstractList implements List, Serializable {
public abstract class AbstractLongList extends AbstractList {
//------------------------------------------------------ Abstract Accessors
/**
* Returns the maximum size the list can reach before the array
* is resized.
*
* @return the maximum size the list can reach before the array is resized
*/
abstract public int capacity();
/**
* Returns the number of <Code>long</Code> elements currently in this
* list.
@ -260,20 +252,6 @@ public abstract class AbstractLongList extends AbstractList implements List, Ser
*/
abstract public void clear();
/**
* Ensures that the length of the internal <Code>long</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
*/
abstract public void ensureCapacity(int mincap);
/**
* Resizes the internal array such that {@link #capacity()} is equal
* to {@link #size()}.
*/
abstract public void trimToSize();
//--------------------------------------------------------------- Modifiers
/**

View File

@ -0,0 +1,105 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
* any, must include the following acknowlegement:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
* from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache"
* nor may "Apache" appear in their names without prior written
* permission of the Apache Group.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
*/
package org.apache.commons.collections.primitives;
import java.io.Serializable;
import java.util.AbstractList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
/**
* Abstract base class for lists backed by a <Code>short</Code> array.
*
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public abstract class AbstractShortArrayList extends AbstractShortList {
//------------------------------------------------------ Abstract Accessors
/**
* Returns the maximum size the list can reach before the array
* is resized.
*
* @return the maximum size the list can reach before the array is resized
*/
abstract public int capacity();
//------------------------------------------------------ Abstract Modifiers
/**
* Ensures that the length of the internal <Code>short</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
*/
abstract public void ensureCapacity(int mincap);
/**
* Resizes the internal array such that {@link #capacity()} is equal
* to {@link #size()}.
*/
abstract public void trimToSize();
}

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortList.java,v 1.1 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.1 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/AbstractShortList.java,v 1.2 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.2 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -71,21 +71,13 @@ import java.util.ListIterator;
/**
* Abstract base class for lists backed by a <Code>short</Code> array.
*
* @version $Revision: 1.1 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.2 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public abstract class AbstractShortList extends AbstractList implements List, Serializable {
public abstract class AbstractShortList extends AbstractList {
//------------------------------------------------------ Abstract Accessors
/**
* Returns the maximum size the list can reach before the array
* is resized.
*
* @return the maximum size the list can reach before the array is resized
*/
abstract public int capacity();
/**
* Returns the number of <Code>short</Code> elements currently in this
* list.
@ -260,20 +252,6 @@ public abstract class AbstractShortList extends AbstractList implements List, Se
*/
abstract public void clear();
/**
* Ensures that the length of the internal <Code>short</Code> array is
* at list the given value.
*
* @param mincap the minimum capcity for this list
*/
abstract public void ensureCapacity(int mincap);
/**
* Resizes the internal array such that {@link #capacity()} is equal
* to {@link #size()}.
*/
abstract public void trimToSize();
//--------------------------------------------------------------- Modifiers
/**

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/IntArrayList.java,v 1.3 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.3 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/IntArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -74,10 +74,10 @@ import java.util.ListIterator;
/**
* A list of <Code>int</Code> elements.
*
* @version $Revision: 1.3 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public class IntArrayList extends AbstractIntList implements List, Serializable {
public class IntArrayList extends AbstractIntArrayList implements Serializable {
//------------------------------------------------------------ Constructors

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/LongArrayList.java,v 1.3 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.3 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/LongArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -74,10 +74,10 @@ import java.util.ListIterator;
/**
* A list of <Code>long</COde> elements.
*
* @version $Revision: 1.3 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public class LongArrayList extends AbstractLongList implements List, Serializable {
public class LongArrayList extends AbstractLongArrayList implements Serializable {
//------------------------------------------------------------ Constructors

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ShortArrayList.java,v 1.3 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.3 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ShortArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -74,10 +74,10 @@ import java.util.ListIterator;
/**
* A list of <Code>short</Code> elements.
*
* @version $Revision: 1.3 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public class ShortArrayList extends AbstractShortList implements List, Serializable {
public class ShortArrayList extends AbstractShortArrayList implements Serializable {
//------------------------------------------------------------ Constructors

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/UnsignedByteArrayList.java,v 1.3 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.3 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/UnsignedByteArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -76,10 +76,10 @@ import java.util.ListIterator;
* Mutators on this class will reject any <Code>short</Code> that does not
* express an unsigned 8-bit value.
*
* @version $Revision: 1.3 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public class UnsignedByteArrayList extends AbstractShortList implements List, Serializable {
public class UnsignedByteArrayList extends AbstractShortArrayList implements Serializable {
//------------------------------------------------------------ Constructors

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/UnsignedIntArrayList.java,v 1.3 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.3 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/UnsignedIntArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -76,10 +76,10 @@ import java.util.ListIterator;
* Mutators on this class will reject any <Code>long</Code> that does not
* express an unsigned 16-bit value.
*
* @version $Revision: 1.3 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public class UnsignedIntArrayList extends AbstractLongList implements List, Serializable {
public class UnsignedIntArrayList extends AbstractLongArrayList implements Serializable {
//------------------------------------------------------------ Constructors

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/UnsignedShortArrayList.java,v 1.3 2002/08/19 21:19:03 pjack Exp $
* $Revision: 1.3 $
* $Date: 2002/08/19 21:19:03 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/UnsignedShortArrayList.java,v 1.4 2002/08/21 23:54:18 pjack Exp $
* $Revision: 1.4 $
* $Date: 2002/08/21 23:54:18 $
*
* ====================================================================
*
@ -76,10 +76,10 @@ import java.util.ListIterator;
* Mutators on this class will reject any <Code>int</Code> that does not
* express an unsigned 16-bit value.
*
* @version $Revision: 1.3 $ $Date: 2002/08/19 21:19:03 $
* @version $Revision: 1.4 $ $Date: 2002/08/21 23:54:18 $
* @author Rodney Waldhoff
*/
public class UnsignedShortArrayList extends AbstractIntList implements List, Serializable {
public class UnsignedShortArrayList extends AbstractIntArrayList implements Serializable {
//------------------------------------------------------------ Constructors