public constructors considered helpful
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131024 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2429ea3deb
commit
cec1f64b00
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedByteList.java,v 1.2 2003/04/13 22:30:57 rwaldhoff Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedByteList.java,v 1.3 2003/04/22 21:32:55 rwaldhoff Exp $
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
|
@ -76,7 +76,7 @@ import java.io.Serializable;
|
||||||
* This implementation supports all optional methods.
|
* This implementation supports all optional methods.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 2.2
|
* @since Commons Collections 2.2
|
||||||
* @version $Revision: 1.2 $ $Date: 2003/04/13 22:30:57 $
|
* @version $Revision: 1.3 $ $Date: 2003/04/22 21:32:55 $
|
||||||
*
|
*
|
||||||
* @author Rodney Waldhoff
|
* @author Rodney Waldhoff
|
||||||
*/
|
*/
|
||||||
|
@ -89,7 +89,7 @@ public class ArrayUnsignedByteList extends RandomAccessShortList implements Shor
|
||||||
* Construct an empty list with the default
|
* Construct an empty list with the default
|
||||||
* initial capacity.
|
* initial capacity.
|
||||||
*/
|
*/
|
||||||
protected ArrayUnsignedByteList() {
|
public ArrayUnsignedByteList() {
|
||||||
this(8);
|
this(8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ public class ArrayUnsignedByteList extends RandomAccessShortList implements Shor
|
||||||
* initial capacity.
|
* initial capacity.
|
||||||
* @throws IllegalArgumentException when <i>initialCapacity</i> is negative
|
* @throws IllegalArgumentException when <i>initialCapacity</i> is negative
|
||||||
*/
|
*/
|
||||||
protected ArrayUnsignedByteList(int initialCapacity) {
|
public ArrayUnsignedByteList(int initialCapacity) {
|
||||||
if(initialCapacity < 0) {
|
if(initialCapacity < 0) {
|
||||||
throw new IllegalArgumentException("capacity " + initialCapacity);
|
throw new IllegalArgumentException("capacity " + initialCapacity);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedIntList.java,v 1.3 2003/04/13 22:30:57 rwaldhoff Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedIntList.java,v 1.4 2003/04/22 21:32:55 rwaldhoff Exp $
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
|
@ -76,7 +76,7 @@ import java.io.Serializable;
|
||||||
* This implementation supports all optional methods.
|
* This implementation supports all optional methods.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 2.2
|
* @since Commons Collections 2.2
|
||||||
* @version $Revision: 1.3 $ $Date: 2003/04/13 22:30:57 $
|
* @version $Revision: 1.4 $ $Date: 2003/04/22 21:32:55 $
|
||||||
*
|
*
|
||||||
* @author Rodney Waldhoff
|
* @author Rodney Waldhoff
|
||||||
*/
|
*/
|
||||||
|
@ -89,7 +89,7 @@ public class ArrayUnsignedIntList extends RandomAccessLongList implements LongLi
|
||||||
* Construct an empty list with the default
|
* Construct an empty list with the default
|
||||||
* initial capacity.
|
* initial capacity.
|
||||||
*/
|
*/
|
||||||
protected ArrayUnsignedIntList() {
|
public ArrayUnsignedIntList() {
|
||||||
this(8);
|
this(8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ public class ArrayUnsignedIntList extends RandomAccessLongList implements LongLi
|
||||||
* initial capacity.
|
* initial capacity.
|
||||||
* @throws IllegalArgumentException when <i>initialCapacity</i> is negative
|
* @throws IllegalArgumentException when <i>initialCapacity</i> is negative
|
||||||
*/
|
*/
|
||||||
protected ArrayUnsignedIntList(int initialCapacity) {
|
public ArrayUnsignedIntList(int initialCapacity) {
|
||||||
if(initialCapacity < 0) {
|
if(initialCapacity < 0) {
|
||||||
throw new IllegalArgumentException("capacity " + initialCapacity);
|
throw new IllegalArgumentException("capacity " + initialCapacity);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedShortList.java,v 1.6 2003/04/13 22:30:57 rwaldhoff Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/primitives/Attic/ArrayUnsignedShortList.java,v 1.7 2003/04/22 21:32:55 rwaldhoff Exp $
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
|
@ -76,7 +76,7 @@ import java.io.Serializable;
|
||||||
* This implementation supports all optional methods.
|
* This implementation supports all optional methods.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 2.2
|
* @since Commons Collections 2.2
|
||||||
* @version $Revision: 1.6 $ $Date: 2003/04/13 22:30:57 $
|
* @version $Revision: 1.7 $ $Date: 2003/04/22 21:32:55 $
|
||||||
*
|
*
|
||||||
* @author Rodney Waldhoff
|
* @author Rodney Waldhoff
|
||||||
*/
|
*/
|
||||||
|
@ -89,7 +89,7 @@ public class ArrayUnsignedShortList extends RandomAccessIntList implements IntLi
|
||||||
* Construct an empty list with the default
|
* Construct an empty list with the default
|
||||||
* initial capacity.
|
* initial capacity.
|
||||||
*/
|
*/
|
||||||
protected ArrayUnsignedShortList() {
|
public ArrayUnsignedShortList() {
|
||||||
this(8);
|
this(8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ public class ArrayUnsignedShortList extends RandomAccessIntList implements IntLi
|
||||||
* initial capacity.
|
* initial capacity.
|
||||||
* @throws IllegalArgumentException when <i>initialCapacity</i> is negative
|
* @throws IllegalArgumentException when <i>initialCapacity</i> is negative
|
||||||
*/
|
*/
|
||||||
protected ArrayUnsignedShortList(int initialCapacity) {
|
public ArrayUnsignedShortList(int initialCapacity) {
|
||||||
if(initialCapacity < 0) {
|
if(initialCapacity < 0) {
|
||||||
throw new IllegalArgumentException("capacity " + initialCapacity);
|
throw new IllegalArgumentException("capacity " + initialCapacity);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue