scolebourne    2003/09/22 16:56:33

  Modified:    primitives/src/java/org/apache/commons/primitive/list
                        LongList.java DoubleList.java BooleanList.java
                        ShortList.java FloatList.java CharList.java
                        ByteList.java IntList.java
  Log:
  Javadoc
  
  Revision  Changes    Path
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/LongList.java
  
  Index: LongList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/LongList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LongList.java     20 Sep 2003 23:50:27 -0000      1.1
  +++ LongList.java     22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    long[] toValueArray(int fromIndexInclusive, int toIndexExclusive, long[] array, 
int insertionIndex);
  +    long[] toValueArray(int fromIndexInclusive, int toIndexExclusive, long[] array, 
int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/DoubleList.java
  
  Index: DoubleList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/DoubleList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DoubleList.java   20 Sep 2003 23:50:27 -0000      1.1
  +++ DoubleList.java   22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    double[] toValueArray(int fromIndexInclusive, int toIndexExclusive, double[] 
array, int insertionIndex);
  +    double[] toValueArray(int fromIndexInclusive, int toIndexExclusive, double[] 
array, int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/BooleanList.java
  
  Index: BooleanList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/BooleanList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BooleanList.java  20 Sep 2003 23:50:27 -0000      1.1
  +++ BooleanList.java  22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    boolean[] toValueArray(int fromIndexInclusive, int toIndexExclusive, boolean[] 
array, int insertionIndex);
  +    boolean[] toValueArray(int fromIndexInclusive, int toIndexExclusive, boolean[] 
array, int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/ShortList.java
  
  Index: ShortList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/ShortList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ShortList.java    20 Sep 2003 23:50:27 -0000      1.1
  +++ ShortList.java    22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    short[] toValueArray(int fromIndexInclusive, int toIndexExclusive, short[] 
array, int insertionIndex);
  +    short[] toValueArray(int fromIndexInclusive, int toIndexExclusive, short[] 
array, int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/FloatList.java
  
  Index: FloatList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/FloatList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FloatList.java    20 Sep 2003 23:50:27 -0000      1.1
  +++ FloatList.java    22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    float[] toValueArray(int fromIndexInclusive, int toIndexExclusive, float[] 
array, int insertionIndex);
  +    float[] toValueArray(int fromIndexInclusive, int toIndexExclusive, float[] 
array, int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/CharList.java
  
  Index: CharList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/CharList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CharList.java     20 Sep 2003 23:50:27 -0000      1.1
  +++ CharList.java     22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    char[] toValueArray(int fromIndexInclusive, int toIndexExclusive, char[] array, 
int insertionIndex);
  +    char[] toValueArray(int fromIndexInclusive, int toIndexExclusive, char[] array, 
int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.2       +8 -6      
jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/ByteList.java
  
  Index: ByteList.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/ByteList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ByteList.java     20 Sep 2003 23:50:27 -0000      1.1
  +++ ByteList.java     22 Sep 2003 23:56:33 -0000      1.2
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    byte[] toValueArray(int fromIndexInclusive, int toIndexExclusive, byte[] array, 
int insertionIndex);
  +    byte[] toValueArray(int fromIndexInclusive, int toIndexExclusive, byte[] array, 
int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  
  1.4       +8 -6      
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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- IntList.java      20 Sep 2003 23:50:27 -0000      1.3
  +++ IntList.java      22 Sep 2003 23:56:33 -0000      1.4
  @@ -167,19 +167,21 @@
   
       /**
        * Copies a range of elements into an array at a specified position.
  +     * Previous values in the array are overwritten.
        * <p>
  +     * If the array specified is null a new array is created.
        * If the array specified is large enough, it will be modified.
        * If the array is not large enough, a new array will be created and all
  -     * elements copied before the insertion begins.
  +     * elements copied before the copy begins.
        *
        * @param fromIndexInclusive  the index to start from, inclusive
        * @param toIndexExclusive  the index to end at, exclusive
  -     * @param array  the array to add the elements to
  -     * @param insertionIndex  the position in the array to add the elements to
  -     * @return the array with the inserted collection
  +     * @param array  the array to add the elements to, may be null
  +     * @param startIndex  the position in the array to start setting elements
  +     * @return the array with the populated collection
        * @throws IndexOutOfBoundsException if any index is invalid
        */
  -    int[] toValueArray(int fromIndexInclusive, int toIndexExclusive, int[] array, 
int insertionIndex);
  +    int[] toValueArray(int fromIndexInclusive, int toIndexExclusive, int[] array, 
int startIndex);
   
       /**
        * Sets the primitive values starting at a specified index.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to